InstanceModel QML Type
Defines a data model based on an instance table. More...
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.4 |
Inherits: |
Properties
- instancingTable : Instancing
Detailed Description
The InstanceModel QML type is a data model that provides access to the elements of an Instancing table.
The following roles are available:
Role name | Description |
---|---|
modelPosition | The position of the instance as a vector3d |
modelRotation | The rotation of the instance as a quaternion |
modelScale | The scale of the instance as a vector3d |
modelColor | The color of the instance |
modelData | The custom data of the instance as a vector4d |
See also InstanceRepeater.
Property Documentation
instancingTable : Instancing |
This property specifies the underlying instance table of the model.
© 2024 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.