InstanceModel QML Type
基于实例表定义数据模型。更多...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.4 |
| Inherits: |
属性
- instancingTable : Instancing
详细说明
InstanceModel QML 类型是一种数据模型,用于访问Instancing 表中的元素。
提供以下角色:
| 角色名称 | 描述 |
|---|---|
modelPosition | 实例作为vector3d |
modelRotation | 实例作为的旋转quaternion |
modelScale | 实例的缩放比例vector3d |
modelColor | 实例的color |
modelData | 实例的自定义数据vector4d |
另请参阅 InstanceRepeater 。
属性文档
instancingTable : Instancing
该属性指定了模型的底层实例表。
© 2026 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.