QPlaneMesh Class
(Qt3DExtras::QPlaneMesh)A square planar mesh. More...
Header: | #include <QPlaneMesh> |
qmake: | QT += 3dextras |
Instantiated By: | PlaneMesh |
Inherits: | Qt3DRender::QGeometryRenderer |
Properties
- height : float
- meshResolution : QSize
- width : float
- 10 properties inherited from Qt3DRender::QGeometryRenderer
- 1 property inherited from Qt3DCore::QComponent
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
float | width() const |
- 12 public functions inherited from Qt3DRender::QGeometryRenderer
- 2 public functions inherited from Qt3DCore::QComponent
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setWidth(float width) |
- 10 public slots inherited from Qt3DRender::QGeometryRenderer
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | widthChanged(float width) |
- 10 signals inherited from Qt3DRender::QGeometryRenderer
- 1 signal inherited from Qt3DCore::QComponent
- 3 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Additional Inherited Members
- 11 static public members inherited from QObject
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
A square planar mesh.
Property Documentation
height : float
Holds the plane height.
Access functions:
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.
Access functions:
QSize | meshResolution() const |
void | setMeshResolution(const QSize &resolution) |
Notifier signal:
void | meshResolutionChanged(const QSize &meshResolution) |
width : float
Holds the plane width.
Access functions:
float | width() const |
void | setWidth(float width) |
Notifier signal:
void | widthChanged(float width) |
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.