ExtrudedTextGeometry QML Type
押し出しテキストのジオメトリを提供します。詳細...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
プロパティ
詳細説明
ExtrudedTextGeometry は、押し出されたテキストのジオメトリを提供します。テキストは Z 軸に沿って押し出されます。テキストとフォントを設定し、押し出しの深さを制御できます。生成されるジオメトリのサイズは scale と depth プロパティで制御します。ジオメトリのトポロジは font.pointSize で定義されます。
メッシュの原点は、テキストのベースラインの左端です。
プロパティのドキュメント
asynchronous : bool
このプロパティは、ジオメトリ生成を非同期に行うかどうかを保持する。
depth : real
このプロパティは、押し出しの深さを保持します。
font : font
このプロパティは、テキストのレンダリングに使用されるフォントを保持します。
注意: メッシュのジオメトリはフォントのpointSizeによって正規化されるため、pointSizeを大きくすると、テキストが大きくなるのではなく、滑らかになる。
scale : real
このプロパティは、ジオメトリがどのようにスケールされるべきかのスカラー値を保持します。このプロパティはテキストのサイズにのみ影響し、押し出しの深さには影響しません。
status : bool [read-only]
このプロパティは、asynchronous が true の場合のジオメトリ生成の状態を保持します。
| 定数 | 説明 |
|---|---|
ExtrudedTextGeometry.Null | ジオメトリ生成が開始されていない |
ExtrudedTextGeometry.Ready | ジオメトリ生成完了 |
ExtrudedTextGeometry.Loading | ジオメトリ生成中 |
ExtrudedTextGeometry.Error | ジオメトリ生成に失敗しました。 |
text : string
このプロパティは、押し出されるテキストを保持します。
© 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.