Qt3DExtras::QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMeshUma malha de texto extrudada em 3D. Mais...
| Cabeçalho: | #include <Qt3DExtras/QExtrudedTextMesh> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| No QML: | ExtrudedTextMesh |
| Herdado de: | Qt3DRender::QGeometryRenderer |
| Status: | Obsoleta |
Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.
Propriedades
Funções públicas
| QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
| float | depth() const |
| QFont | font() const |
| QString | text() const |
Slots públicos
Sinais
| void | depthChanged(float depth) |
| void | fontChanged(const QFont &font) |
| void | textChanged(const QString &text) |
Documentação da propriedade
depth : float
Armazena a profundidade de extrusão do texto.
Funções de acesso:
| float | depth() const |
| void | setDepth(float depth) |
Sinal de notificação:
| void | depthChanged(float depth) |
font : QFont
Contém a fonte do texto.
A geometria da malha é normalizada pelo `pointSize` da fonte; portanto, um `pointSize` maior resultará em um texto mais suave, e não maior. O `pixelSize` não deve ser usado.
Funções de acesso:
| QFont | font() const |
| void | setFont(const QFont &font) |
Sinal do Notifier:
| void | fontChanged(const QFont &font) |
text : QString
Contém o texto utilizado para a malha.
Funções de acesso:
| QString | text() const |
| void | setText(const QString &text) |
Sinal do notificador:
| void | textChanged(const QString &text) |
Documentação das funções de membro
[explicit] QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
Cria um novo objeto `QText3DMesh` com ` 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.