A 3D extruded Text mesh. 更多...
| 头: | #include <Qt3DExtras/QExtrudedTextMesh> |
| qmake: | QT += 3dextras |
| 实例化: | ExtrudedTextMesh |
| 继承: | Qt3DRender::QGeometryRenderer |
| QExtrudedTextMesh (Qt3DCore::QNode * parent = nullptr) | |
| float | depth () const |
| QFont | font () const |
| QString | text () const |
| void | setDepth (float depth ) |
| void | setFont (const QFont & font ) |
| void | setText (const QString & text ) |
| void | depthChanged (float depth ) |
| void | fontChanged (const QFont & font ) |
| void | textChanged (const QString & text ) |
| const QMetaObject | staticMetaObject |
A 3D extruded Text mesh.
Holds the extrusion depth of the text.
访问函数:
| float | depth () const |
| void | setDepth (float depth ) |
通知程序信号:
| void | depthChanged (float depth ) |
Holds the font of the text.
访问函数:
| QFont | font () const |
| void | setFont (const QFont & font ) |
通知程序信号:
| void | fontChanged (const QFont & font ) |
Holds the text used for the mesh.
访问函数:
| QString | text () const |
| void | setText (const QString & text ) |
通知程序信号:
| void | textChanged (const QString & text ) |
Constructs a new QText3DMesh with parent .