Qt3DExtras::QExtrudedTextMesh Class
class Qt3DExtras::QExtrudedTextMesh3D押し出し加工されたテキストメッシュ。詳細...
| ヘッダー: | #include <Qt3DExtras/QExtrudedTextMesh> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
| qmake: | QT += 3dextras |
| QML内: | ExtrudedTextMesh |
| 継承元: | Qt3DRender::QGeometryRenderer |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
パブリック関数
| QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr) | |
| float | depth() const |
| QFont | font() const |
| QString | text() const |
パブリックスロット
シグナル
| void | depthChanged(float depth) |
| void | fontChanged(const QFont &font) |
| void | textChanged(const QString &text) |
プロパティのドキュメント
depth : float
テキストの押し出し深さを保持します。
アクセス関数:
| float | depth() const |
| void | setDepth(float depth) |
通知シグナル:
| void | depthChanged(float depth) |
font : QFont
テキストのフォントを保持します。
メッシュのジオメトリはフォントの pointSize によって正規化されるため、pointSize を大きくすると、テキストのサイズが大きくなるのではなく、滑らかになります。pixelSize は使用しないでください。
アクセス関数:
| QFont | font() const |
| void | setFont(const QFont &font) |
Notifierシグナル:
| void | fontChanged(const QFont &font) |
text : QString
メッシュに使用されるテキストを保持します。
アクセス関数:
| QString | text() const |
| void | setText(const QString &text) |
通知シグナル:
| void | textChanged(const QString &text) |
メンバ関数のドキュメント
[explicit] QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode *parent = nullptr)
parent を使用して、新しいQText3DMeshを構築します。
© 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.