QPlaneMesh Class
(Qt3DExtras::QPlaneMesh)A square planar mesh. 更多...
头文件: | #include <Qt3DExtras/QPlaneMesh> |
qmake: | QT += 3dextras |
Instantiated By: | PlaneMesh |
基类: | Qt3DRender::QGeometryRenderer |
属性
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
- 10 个属性继承自 Qt3DRender::QGeometryRenderer
- 1 个属性继承自 Qt3DCore::QComponent
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
bool | mirrored() const |
float | width() const |
- 12 个公有函数继承自 Qt3DRender::QGeometryRenderer
- 2 个公有函数继承自 Qt3DCore::QComponent
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setMirrored(bool mirrored) |
void | setWidth(float width) |
- 10 个公有槽函数继承自 Qt3DRender::QGeometryRenderer
- 1 个公有槽函数继承自 Qt3DCore::QComponent
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | mirroredChanged(bool mirrored) |
void | widthChanged(float width) |
- 10 个信号继承自 Qt3DRender::QGeometryRenderer
- 3 个信号继承自 Qt3DCore::QComponent
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
A square planar mesh.
属性
height : float
Holds the plane height.
访问函数:
float | height() const |
void | setHeight(float height) |
Notifier signal:
void | heightChanged(float height) |
meshResolution : QSize
Holds the plane resolution. The width and height values of this property specify the number of vertices generated for the mesh in the respective dimensions.
访问函数:
QSize | meshResolution() const |
void | setMeshResolution(const QSize &resolution) |
Notifier signal:
void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
Controls if the UV coordinates of the plane should be flipped vertically.
This property was introduced in Qt 5.9.
访问函数:
bool | mirrored() const |
void | setMirrored(bool mirrored) |
Notifier signal:
void | mirroredChanged(bool mirrored) |
width : float
Holds the plane width.
访问函数:
float | width() const |
void | setWidth(float width) |
Notifier signal:
void | widthChanged(float width) |