Auf dieser Seite

InstanceModel QML Type

Definiert ein Datenmodell auf der Grundlage einer Instanztabelle. Mehr...

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

Object3D

Eigenschaften

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:

RollennameBeschreibung
modelPositionDie Position der Instanz als vector3d
modelRotationDie Drehung der Instanz als quaternion
modelScaleDie Skalierung der Instanz als vector3d
modelColorcolor en der Instanz
modelDataDie 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.