TorusGeometry QML Type
トーラスの幾何構造を提供します。詳細...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
プロパティ
- asynchronous : bool
- radius : real
- rings : int
- segments : int
- status : bool
- tubeRadius : real
詳細な説明
TorusGeometry は、トーラスを表すジオメトリ型です。トーラスは、リングとセグメントの数、およびトーラスの半径によって定義されます。
プロパティのドキュメント
asynchronous : bool
このプロパティは、ジオメトリの生成を非同期で行うかどうかを指定します。
radius : real
トーラスの半径を指定します。デフォルト値は 100 です。
rings : int
トーラス内のリング数を指定します。デフォルト値は 50 です。
segments : int
トーラスのセグメント数を指定します。デフォルト値は 50 です。
status : bool [read-only]
このプロパティは、asynchronous が true の場合、ジオメトリ生成のステータスを保持します。
| 定数 | 説明 |
|---|---|
TorusGeometry.Null | ジオメトリの生成は開始されていません |
TorusGeometry.Ready | ジオメトリの生成が完了しています。 |
TorusGeometry.Loading | ジオメトリの生成が進行中です。 |
TorusGeometry.Error | ジオメトリの生成に失敗しました。 |
tubeRadius : real
トーラスの管の半径を指定します。デフォルト値は 10 です。
© 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.