Qt3DExtras::QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMeshUn maillage de texte extrudé en 3D. Plus d'informations...
| En-tête : | #include <Qt3DExtras/QExtrudedTextMesh> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3dextras)target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake : | QT += 3dextras |
| En QML : | ExtrudedTextMesh |
| Hérite : | Qt3DRender::QGeometryRenderer |
| Statut : | Déclassé |
Propriétés
Fonctions publiques
| QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
| float | depth() const |
| QFont | font() const |
| QString | text() const |
Emplacements publics
Signaux
| void | depthChanged(float depth) |
| void | fontChanged(const QFont &font) |
| void | textChanged(const QString &text) |
Description détaillée
L'origine du maillage est l'extrémité arrière gauche de la ligne de base du texte.
Propriété Documentation
depth : float
Indique la profondeur d'extrusion du texte.
Fonctions d'accès :
| float | depth() const |
| void | setDepth(float depth) |
Signal de notification :
| void | depthChanged(float depth) |
font : QFont
Indique la police de caractères du texte.
La géométrie du maillage est normalisée par la taille de point de la police, de sorte qu'une taille de point plus grande se traduira par un texte plus lisse, plutôt que plus grand. pixelSize ne doit pas être utilisé.
Fonctions d'accès :
| QFont | font() const |
| void | setFont(const QFont &font) |
Signal du notificateur :
| void | fontChanged(const QFont &font) |
text : QString
Contient le texte utilisé pour le maillage.
Fonctions d'accès :
| QString | text() const |
| void | setText(const QString &text) |
Signal du notificateur :
| void | textChanged(const QString &text) |
Member Function Documentation
[explicit] QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
Construit un nouveau QText3DMesh avec parent.
© 2026 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.