QmlStream QML Type | Qt 3D Studio Runtime 2.0

Qt 3D Studio Runtime | QML Types | QmlStream QML Type

Qt 3D Studio Runtime 2.0 Manual

# QmlStream QML Type

QML stream. More...

Import Statement: | import .

- List of all members, including inherited members

## Properties

- item : Item
- presentationId : string

## Detailed Description

This type allows specifying the contents of a QML sub-presentation within the Studio3D item. QmlStream must be used in combination with SubPresentationSettings.

See also SubPresentationSettings.

## Property Documentation

item : Item

Holds the item attached to the sub-presentation. The item size is used as the the size of the texture the item is rendered to. A default value of `(128, 128)` is used when the item does not specify a size.

presentationId : string

Holds the string ID of the sub-presentation the contents of which is specified by item. The id must be one of the `presentation-qml` IDs specified in the `.uia` file.