InstanceListEntry QML Type
|Import Statement:||import QtQuick3D|
- color : vector3d
- customData : vector4d
- eulerRotation : vector3d
- position : vector3d
- rotation : quaternion
- scale : vector3d
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.
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
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.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.