InstanceModel QML Type

Definiert ein Datenmodell basierend auf einer Instanztabelle. Mehr...

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

Object3D

Eigenschaften

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 RolleBeschreibung
modelPositionDie Position der Instanz als vector3d
modelRotationDie Drehung der Instanz als eine quaternion
modelScaleDie Skalierung der Instanz als a vector3d
modelColorDie color der Instanz
modelDataDie 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.