C

ViewerSettings QML Type

Qt 3D Studio presentation viewer settings. More...

Import Statement: import .
Instantiates: Q3DSViewerSettings

Properties

Detailed Description

This type provides properties to define presentation independent viewer settings.

See also Studio3D.

Property Documentation

matteColor : QColor

Specifies the matte color.


matteEnabled : bool

Specifies if the empty area around the presentation (applicable when scaleMode is set to ScaleModeCenter or ScaleModeFit) should be filled with a custom color.

The default value is false.


scaleMode : enumeration

Specifies the scaling mode. The default value is ScaleModeFill where the size of the presentation on-screen follows and fills the size of the output area (the window, the screen, or the area occupied by the Studio3D element).

During the design phase it can be valuable to see the presentation with some other scaling approach. For example, the Qt 3D Studio Viewer application uses ScaleModeCenter by default.

ConstantDescription
ScaleModeFitScales the presentation to fit the output area.
ScaleModeFillScales the presentation to completely fill the output area.
ScaleModeCenterCenters the presentation in the output area without scaling it.

The default value is ScaleModeFill.


showRenderStats : bool

If this property is set to true, the interactive statistics and profile view is displayed in-scene, on top of the 3D content.

Note: this feature can be disabled at build time, in which case this property has no effect.

The default value is false.


Available under certain Qt licenses.
Find out more.