このページでは

ExtrudedTextGeometry QML Type

押し出しテキストのジオメトリを指定します。詳細...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.9
Inherits:

Geometry

プロパティ

詳細な説明

ExtrudedTextGeometry は、押し出しテキスト用のジオメトリを提供します。テキストは z 軸に沿って押し出されます。テキストやフォントを設定でき、押し出しの深さを制御できます。生成されるジオメトリのサイズは、scale プロパティと depth プロパティによって制御されます。ジオメトリのトポロジーは、font.pointSize によって定義されます。

メッシュの原点は、テキストのベースラインの左後端です。

プロパティのドキュメント

asynchronous : bool

このプロパティは、ジオメトリの生成を非同期で行うかどうかを指定します。

depth : real

このプロパティは、押し出しの深さを保持します。

font : font

このプロパティには、テキストの描画に使用されるフォントが格納されます。

注: メッシュの ジオメトリは フォントの pointSize によって正規化されるため、pointSize を大きくすると、テキストのサイズが大きくなるのではなく、滑らかになります。pixelSize は使用しないでください。

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.