PlaneGeometry QML Type

PlaneGeometry allows creation of a plane in 3D space. 更多...

import 語句: import Qt3D.Extras 2.12
實例化: QPlaneGeometry

特性

詳細描述

The PlaneGeometry type is most commonly used internally by the PlaneMesh type but can also be used in custom GeometryRenderer 類型。

特性文檔編製

height : real

Holds the plane height.

indexAttribute : Attribute

Holds the geometry index attribute.

mirrored : bool

Controls if the UV coordinates of the plane should be flipped vertically.

該特性在 Qt 5.9 引入。

normalAttribute : Attribute

Holds the geometry normal attribute.

positionAttribute : Attribute

Holds the geometry position attribute.

resolution : size

Holds the plane resolution.

tangentAttribute : Attribute

Holds the geometry tangent attribute.

texCoordAttribute : Attribute

Holds the geometry texture coordinate attribute.

width : real

Holds the plane width.