InstanceModel QML Type

根据实例表定义数据模型。更多

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.4
Inherits:

Object3D

属性

详细说明

InstanceModel QML 类型是一个数据模型,可访问Instancing 表中的元素。

可使用以下角色:

角色名称角色名称
modelPosition实例的位置vector3d
modelRotation实例的旋转quaternion
modelScale实例的缩放vector3d
modelColor实例的color
modelData实例的自定义数据vector4d

另请参阅 InstanceRepeater

属性文档

instancingTable : Instancing

该属性指定模型的底层实例表。


© 2025 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.