PlaneGeometry QML Type

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

导入语句: import Qt3D.Extras 2.15
实例化: 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 : 属性

Holds the geometry index attribute.


mirrored : bool

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

该特性在 Qt 5.9 引入。


normalAttribute : 属性

Holds the geometry normal attribute.


positionAttribute : 属性

Holds the geometry position attribute.


resolution : size

Holds the plane resolution.


tangentAttribute : 属性

Holds the geometry tangent attribute.


texCoordAttribute : 属性

Holds the geometry texture coordinate attribute.


width : real

Holds the plane width.