Geometry QML Type

Encapsulates geometry. More...

Import Statement: import Qt3D.Render 2.12
Since: Qt 5.7
Instantiates: QGeometry
Inherits:

Node

Properties

Detailed Description

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.

Property Documentation

attributes : list<Attribute>

Holds the list of attributes the geometry comprises of.

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.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.12/qml-qt3d-render-geometry.html