SceneElement QML Type | OpenGL Runtime 2.7.0

OpenGL Runtime | OpenGL Runtime | QML Types | SceneElement QML Type

Qt 3D Studio OpenGL Runtime 2.7 Manual

# SceneElement QML Type

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

Import Statement: | import QtStudio3D.OpenGL 2.7
Instantiates: | Q3DSSceneElement

- List of all members, including inherited members

## Properties

- currentSlideIndex : int
- currentSlideName : string
- previousSlideIndex : int
- previousSlideName : string

## 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.