A 3D extruded Text mesh. More...
Header: | #include <Qt3DExtras/QExtrudedTextMesh> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
Instantiated By: | ExtrudedTextMesh |
Inherits: | Qt3DRender::QGeometryRenderer |
QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
float | depth() const |
QFont | font() const |
QString | text() const |
void | depthChanged(float depth) |
void | fontChanged(const QFont &font) |
void | textChanged(const QString &text) |
The origin of the mesh is the rear left end of the text's baseline.
Holds the extrusion depth of the text.
Access functions:
float | depth() const |
void | setDepth(float depth) |
Notifier signal:
void | depthChanged(float depth) |
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) |
Holds the text used for the mesh.
Access functions:
QString | text() const |
void | setText(const QString &text) |
Notifier signal:
void | textChanged(const QString &text) |
Constructs a new QText3DMesh with parent.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: