Nesta página

Geometry QML Type

Encapsula geometria. Mais...

Import Statement: import Qt3D.Core 2.12
In C++: QGeometry
Inherits:

Node

Status: Deprecated

Este tipo está obsoleto. Recomendamos enfaticamente que não seja utilizado em código novo.

Propriedades

Descrição detalhada

Um tipo Geometria é utilizado para agrupar uma lista de objetos Atributo, formando uma figura geométrica que o Qt3D é capaz de renderizar utilizando GeometryRenderer. É possível definir um atributo especial para calcular o volume delimitador da figura.

Documentação das propriedades

attributes : list<Attribute>

Contém a lista de atributos que compõem a geometria.

boundingVolumePositionAttribute : Attribute

Contém o atributo utilizado para calcular o volume delimitador. O volume delimitador é utilizado internamente para a seleção de objetos e para a eliminação de objetos fora do cone de visão.

Se não for especificado, o sistema procurará o atributo usando o nome retornado por QAttribute::defaultPositionAttributeName.

Veja também Attribute.

maxExtent : vector3d [read-only]

Contém o vértice com os maiores valores de posição x, y e z.

minExtent : vector3d [read-only]

Contém o vértice com os menores valores de posição em x, y e z.

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