Qt3DExtras::QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMeshUne grille de texte extrudée en 3D. En savoir plus...
| 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 de : | Qt3DRender::QGeometryRenderer |
| Statut : | Obsolète |
Cette classe est obsolète. Nous vous déconseillons fortement de l'utiliser dans du nouveau code.
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 de la grille correspond à l'extrémité arrière gauche de la ligne de base du texte.
Documentation des propriétés
depth : float
Contient 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
Contient la police du texte.
La géométrie du maillage est normalisée en fonction de la valeur « pointSize » de la police ; ainsi, une valeur « pointSize » plus élevée donnera un texte plus lisse, et non pas plus grand. Il ne faut pas utiliser la valeur « pixelSize ».
Fonctions d'accès :
| QFont | font() const |
| void | setFont(const QFont &font) |
Signal de notification :
| 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 de notification :
| void | textChanged(const QString &text) |
Documentation des fonctions membres
[explicit] QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
Crée un nouvel objet QText3DMesh à l'aide de ` 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.