TorusGeometry QML Type

TorusGeometry allows creation of a torus in 3D space. 更多...

import 语句: import Qt3D.Extras 2.15
实例化: QTorusGeometry

特性

详细描述

The TorusGeometry type is most commonly used internally by the TorusMesh type but can also be used in custom GeometryRenderer 类型。

特性文档编制

indexAttribute : 属性

Holds the geometry index attribute.

minorRadius : real

Holds the inner radius of the torus.

normalAttribute : 属性

Holds the geometry normal attribute.

positionAttribute : 属性

Holds the geometry position attribute.

radius : real

Holds the outer radius of the torus.

rings : int

Holds the number of rings in the torus.

slices : int

Holds the number of slices in the torus.

texCoordAttribute : 属性

Holds the geometry texture coordinate attribute.