Geometry QML Type
Incapsula la geometria. Maggiori informazioni...
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.
Proprietà
- attributes : list<Attribute>
- boundingVolumePositionAttribute : Attribute
- maxExtent : vector3d
- minExtent : vector3d
Descrizione dettagliata
Un tipo "Geometry" viene utilizzato per raggruppare un elenco di oggetti "Attribute" al fine di formare una figura geometrica che Qt3D è in grado di visualizzare utilizzando GeometryRenderer. È possibile impostare un attributo speciale per calcolare il volume di delimitazione della figura.
Documentazione delle proprietà
attributes : list<Attribute>
Contiene l'elenco degli attributi che compongono la geometria.
boundingVolumePositionAttribute : Attribute
Contiene l'attributo utilizzato per calcolare il volume di delimitazione. Il volume di delimitazione viene utilizzato internamente per il picking e il culling del frustum di visualizzazione.
Se non specificato, il sistema cercherà l'attributo utilizzando il nome restituito da QAttribute::defaultPositionAttributeName.
Vedi anche Attribute.
maxExtent : vector3d [read-only]
Contiene il vertice con i valori di posizione x, y, z più elevati.
minExtent : vector3d [read-only]
Contiene il vertice con i valori di posizione x, y, z più bassi.
© 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.