Geometry QML Type
Encapsulates geometry. More...
- attributes : list<Attribute>
- boundingVolumePositionAttribute : Attribute
- maxExtent : vector3d
- minExtent : vector3d
A Geometry type is used to group a list of Attribute objects together to form a geometric shape Qt3D is able to render using GeometryRenderer. Special attribute can be set in order to calculate bounding volume of the shape.
boundingVolumePositionAttribute : Attribute
Holds the attribute used to compute the bounding volume. The bounding volume is used internally for picking and view frustum culling.
If unspecified, the system will look for the attribute using the name returned by QAttribute::defaultPositionAttributeName.
See also Attribute.
[read-only] maxExtent : vector3d
Holds the vertex with the highest x, y, z position values.
[read-only] minExtent : vector3d
Holds the vertex with the lowest x, y, z position values.
© 2022 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.