C

SceneElement QML Type

Controls the special Scene or Component scene objects in a Qt 3D Studio presentation. More...

Import Statement: import QtStudio3D.OpenGL 2.8
Instantiates: Q3DSSceneElement

Properties

Detailed Description

This class is a convenience class for controlling the properties of Scene and Component objects in the scene. These are special since they have a time context, meaning they control a timeline and a set of associated slides.

See also Studio3D, Element, and Presentation.

Property Documentation

currentSlideIndex : int

Holds the index of the currently active slide of the tracked time context. Slide indexing starts from one.

Note: If this property is set to something else than the default slide for the scene at the initial declaration of SceneElement, a changed signal for the default slide may still be emitted before the slide changes to the desired one. This happens in order to ensure we end up with the index of the slide that is actually shown even if the slide specified in the initial declaration is invalid.


currentSlideName : string

Holds the name of the currently active slide of the tracked time context.

Note: If this property is set to something else than the default slide for the scene at the initial declaration of SceneElement, a changed signal for the default slide may still be emitted before the slide changes to the desired one. This happens in order to ensure we end up with the index of the slide that is actually shown even if the slide specified in the initial declaration is invalid.


[read-only] previousSlideIndex : int

Holds the index of the previously active slide of the tracked time context.


[read-only] previousSlideName : string

Holds the name of the previously active slide of the tracked time context.


Available under certain Qt licenses.
Find out more.