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.