InstanceModel QML Type
Definiert ein Datenmodell basierend auf einer Instanztabelle. Mehr...
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.4 |
Inherits: |
Eigenschaften
- instancingTable : Instancing
Detaillierte Beschreibung
Der QML-Typ InstanceModel ist ein Datenmodell, das den Zugriff auf die Elemente einer Tabelle Instancing ermöglicht.
Die folgenden Rollen sind verfügbar:
Name der Rolle | Beschreibung |
---|---|
modelPosition | Die Position der Instanz als vector3d |
modelRotation | Die Drehung der Instanz als eine quaternion |
modelScale | Die Skalierung der Instanz als a vector3d |
modelColor | Die color der Instanz |
modelData | Die benutzerdefinierten Daten der Instanz als a vector4d |
Siehe auch InstanceRepeater.
Eigenschaft Dokumentation
instancingTable : Instancing |
Diese Eigenschaft gibt die zugrunde liegende Instanztabelle des Modells an.
© 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.