CylinderGeometry QML Type

CylinderGeometry allows creation of a cylinder in 3D space. 更多...

导入语句: import Qt3D.Extras 2.0
实例化: QCylinderGeometry

特性

详细描述

CylinderGeometry type is most commonly used internally by the CylinderMesh type but can also be used in custom GeometryRenderer 类型。

特性文档编制

indexAttribute : 属性

Holds the geometry index attribute.


length : real

Holds the length of the cylinder.


normalAttribute : 属性

Holds the geometry normal attribute.


positionAttribute : 属性

Holds the geometry position attribute.


radius : real

Holds the radius of the cylinder.


rings : int

Holds the number of rings in the cylinder.


slices : int

Holds the number of slices in the cylinder.


texCoordAttribute : 属性

Holds the geometry texture coordinate attribute.