In questa pagina

InstanceModel QML Type

Definisce un modello di dati basato su una tabella di istanze. Per saperne di più...

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

Object3D

Proprietà

Descrizione dettagliata

Il tipo QML InstanceModel è un modello di dati che consente di accedere agli elementi di una tabella Instancing.

Sono disponibili i seguenti ruoli:

Nome del ruoloDescrizione
modelPositionLa posizione dell'istanza come vector3d
modelRotationLa rotazione dell’istanza come quaternion
modelScaleLa scala dell’istanza come vector3d
modelColorcolor e dell'istanza
modelDataI dati personalizzati dell'istanza come vector4d

Vedi anche InstanceRepeater.

Documentazione sulle proprietà

instancingTable : Instancing

Questa proprietà specifica la tabella delle istanze sottostante del modello.

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