Geometry QML Type

封裝幾何體 更多...

import 語句: import Qt3D.Render 2.0
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.

特性文檔編製

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.

另請參閱 Attribute .