ConeGeometry QML 類型

ConeGeometry 允許創建 3D 空間錐體。 更多...

import 語句: import Qt3D.Extras 2.10
在 C++: QConeGeometry
狀態: 棄用

特性

詳細描述

The ConeGeometry type is most commonly used internally by the ConeMesh type but can also be used in custom GeometryRenderer types. The ConeGeometry type allows for creation of both a cone and a truncated cone.

特性文檔編製

bottomRadius : real

Holds the bottom radius of the cone.

hasBottomEndcap : bool

Determines if the cone bottom is capped or open.

hasTopEndcap : bool

Determines if the cone top is capped or open.

indexAttribute : 屬性 [read-only]

Holds the geometry index attribute.

length : real

Holds the length of the cone.

normalAttribute : 屬性 [read-only]

Holds the geometry normal attribute.

positionAttribute : 屬性 [read-only]

Holds the geometry position attribute.

rings : int

Holds the number of rings in the geometry.

slices : int

Holds the number of slices in the geometry.

texCoordAttribute : 屬性 [read-only]

Holds the geometry texture coordinate attribute.

topRadius : real

Holds the top radius of the cone.