QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMeshEin extrudiertes 3D-Textnetz. Mehr...
Kopfzeile: | #include <Qt3DExtras/QExtrudedTextMesh> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake: | QT += 3dextras |
In QML: | ExtrudedTextMesh |
Vererbt: | Qt3DRender::QGeometryRenderer |
Status: | Veraltet |
Eigenschaften
Öffentliche Funktionen
QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
float | depth() const |
QFont | font() const |
QString | text() const |
Öffentliche Slots
Signale
void | depthChanged(float depth) |
void | fontChanged(const QFont &font) |
void | textChanged(const QString &text) |
Detaillierte Beschreibung
Der Ursprung des Netzes ist das hintere linke Ende der Grundlinie des Textes.
Dokumentation der Eigenschaft
depth : float
Enthält die Extrusionstiefe des Textes.
Zugriffsfunktionen:
float | depth() const |
void | setDepth(float depth) |
Melder-Signal:
void | depthChanged(float depth) |
font : QFont
Enthält die Schriftart des Textes.
Die Maschengeometrie wird durch die pointSize der Schriftart normalisiert, so dass eine größere pointSize zu einem glatteren und nicht zu einem größeren Text führt. pixelSize sollte nicht verwendet werden.
Zugriffsfunktionen:
QFont | font() const |
void | setFont(const QFont &font) |
Benachrichtigungssignal:
void | fontChanged(const QFont &font) |
text : QString
Enthält den für das Netz verwendeten Text.
Zugriffsfunktionen:
QString | text() const |
void | setText(const QString &text) |
Benachrichtigungssignal:
void | textChanged(const QString &text) |
Member Function Dokumentation
[explicit]
QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
Konstruiert ein neues QText3DMesh mit parent.
© 2025 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.