InstanceListEntry QML Type

Specifies an instance in an InstanceList. More...

Import Statement: import QtQuick3D
Since: Qt 6.2
Inherits:

Object3D

Properties

Detailed Description

The InstanceListEntry QML type is used to specify one instance in an instance list.

All the properties can have bindings and animation. Changing a property will cause the entire instance table to be recalculated and uploaded to the GPU, so this can be expensive for instance lists with many members.

Property Documentation

color : vector3d

This property specifies the color for the instance.


customData : vector4d

This property specifies the custom data for the instance. This is not used by default, but is made available to the vertex shader of custom materials as INSTANCE_DATA.


eulerRotation : vector3d

This property specifies the rotation for the instance as an Euler vector, that is a vector containing the rotation in degrees around the x, y and z axes.


position : vector3d

This property specifies the position for the instance.


rotation : quaternion

This property specifies the rotation for the instance as a quaternion.


scale : vector3d

This property specifies the scale for the instance as a vector containing the scale factor along the x, y and z axes.