Geometry QML Type

Encapsulates geometry. 更多...

import 语句: import Qt3D.Render 2.15
Since: Qt 5.7
实例化: QGeometry
继承:

Node

特性

详细描述

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.

特性文档编制

属性 : list < 属性 >

Holds the list of attributes the geometry comprises of.

boundingVolumePositionAttribute : 属性

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.

另请参阅 属性 .

maxExtent : vector3d

Holds the vertex with the highest x, y, z position values.

minExtent : vector3d

Holds the vertex with the lowest x, y, z position values.