InstanceModel QML Type
Definiert ein Datenmodell auf der Grundlage einer Instanztabelle. Mehr...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.4 |
| Inherits: |
Eigenschaften
- instancingTable : Instancing
Ausführliche Beschreibung
Der QML-Typ „InstanceModel“ ist ein Datenmodell, das Zugriff auf die Elemente einer „ Instancing “-Tabelle bietet.
Die folgenden Rollen sind verfügbar:
| Rollenname | Beschreibung |
|---|---|
modelPosition | Die Position der Instanz als vector3d |
modelRotation | Die Drehung der Instanz als quaternion |
modelScale | Die Skalierung der Instanz als vector3d |
modelColor | color en der Instanz |
modelData | Die benutzerdefinierten Daten der Instanz als vector4d |
Siehe auch „ InstanceRepeater “.
Eigenschaftsdokumentation
instancingTable : Instancing
Diese Eigenschaft gibt die zugrunde liegende Instanztabelle des Modells an.
© 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.