InstanceModel QML Type
Définit un modèle de données basé sur une table d'instances. En savoir plus…
| 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'une table d'Instancing.
Les rôles suivants sont disponibles :
| Nom du rôle | Description |
|---|---|
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 en tant que vector3d |
modelColor | L'color e 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'instances 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.