SphereGeometry QML Type

SphereGeometry allows creation of a sphere in 3D space. 更多...

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

特性

详细描述

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

特性文档编制

generateTangents : bool

Holds the value of the automatic tangent vectors generation flag. Tangent vectors are orthogonal to normal vectors.

indexAttribute : 属性

Holds the geometry index attribute.

normalAttribute : 属性

Holds the geometry normal attribute.

positionAttribute : 属性

Holds the geometry position attribute.

radius : real

Holds the radius of the sphere.

rings : int

Holds the number of rings in the sphere.

slices : int

Holds the number of slices in the sphere.

tangentAttribute : 属性

Holds the geometry tangent attribute.

texCoordAttribute : 属性

Holds the geometry texture coordinate attribute.