InstanceModel QML Type
Définit un modèle de données basé sur une table d'instance. Plus d'informations...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.4 |
| Inherits: |
Propriétés
- instancingTable : Instancing
Description détaillée
Le type QML InstanceModel est un modèle de données qui permet d'accéder aux éléments d'un tableau Instancing.
Les rôles suivants sont disponibles :
| Nom du rôle | Description de l'instance |
|---|---|
modelPosition | La position de l'instance en tant que vector3d |
modelRotation | La rotation de l'instance en tant que quaternion |
modelScale | L'échelle de l'instance comme a vector3d |
modelColor | Le site color de l'instance |
modelData | Les données personnalisées de l'instance en tant que vector4d |
Voir aussi InstanceRepeater.
Documentation sur les propriétés
instancingTable : Instancing
Cette propriété spécifie la table d'instance sous-jacente du modèle.
© 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.