QPlaneMesh Class
(Qt3DExtras::QPlaneMesh)A square planar mesh. More...
Header: | #include <Qt3DExtras/QPlaneMesh> |
qmake: | QT += 3dextras |
Instantiated By: | PlaneMesh |
Inherits: | Qt3DRender::QGeometryRenderer |
Properties
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
- 11 properties inherited from Qt3DRender::QGeometryRenderer
- 1 property inherited from Qt3DCore::QComponent
- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
bool | mirrored() const |
float | width() const |
- 13 public functions inherited from Qt3DRender::QGeometryRenderer
- 2 public functions inherited from Qt3DCore::QComponent
- 13 public functions inherited from Qt3DCore::QNode
- 30 public functions inherited from QObject
Public Slots
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setMirrored(bool mirrored) |
void | setWidth(float width) |
- 11 public slots inherited from Qt3DRender::QGeometryRenderer
- 1 public slot inherited from Qt3DCore::QComponent
- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | mirroredChanged(bool mirrored) |
void | widthChanged(float width) |
- 11 signals inherited from Qt3DRender::QGeometryRenderer
- 3 signals inherited from Qt3DCore::QComponent
- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Related Non-Members
typedef | QNodePtr |
typedef | QNodeVector |
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
Qt3DCore::QNodeId | qIdForNode(Qt3DCore::QNode *node) |
Qt3DCore::QNodeIdVector | qIdsForNodes(const T &nodes) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 9 static public members inherited from QObject
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Detailed Description
* * * * * * *
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) |
mirrored : bool
Controls if the UV coordinates of the plane should be flipped vertically.
This property was introduced in Qt 5.9.
Access functions:
bool | mirrored() const |
void | setMirrored(bool mirrored) |
Notifier signal:
void | mirroredChanged(bool mirrored) |
width : float
Holds the plane width.
Access functions:
float | width() const |
void | setWidth(float width) |
Notifier signal:
void | widthChanged(float width) |
Member Function Documentation
QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
Constructs a new QPlaneMesh with parent.