QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMeshA 3D extruded Text mesh. More...
Header: | #include <Qt3DExtras/QExtrudedTextMesh> |
qmake: | QT += 3dextras |
Instantiated By: | ExtrudedTextMesh |
Inherits: | Qt3DRender::QGeometryRenderer |
Properties
Public Functions
QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
float | depth() const |
QFont | font() const |
QString | text() const |
Public Slots
Signals
void | depthChanged(float depth) |
void | fontChanged(const QFont &font) |
void | textChanged(const QString &text) |
Property Documentation
depth : float
Holds the extrusion depth of the text.
Access functions:
float | depth() const |
void | setDepth(float depth) |
Notifier signal:
void | depthChanged(float depth) |
font : QFont
Holds the font of the text.
The mesh geometry is normalized by the font's pointSize, so a larger pointSize will result in smoother, rather than larger, text. pixelSize should not be used.
Access functions:
QFont | font() const |
void | setFont(const QFont &font) |
Notifier signal:
void | fontChanged(const QFont &font) |
text : QString
Holds the text used for the mesh.
Access functions:
QString | text() const |
void | setText(const QString &text) |
Notifier signal:
void | textChanged(const QString &text) |
Member Function Documentation
QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
Constructs a new QText3DMesh with parent.
© 2024 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.