本页内容

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

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

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