CylinderGeometry QML Type
円柱の幾何形状を定義します。詳細...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
プロパティ
詳細な説明
CylinderGeometryは、円柱形状を生成するジオメトリ型です。円柱の形状は、半径と長さのプロパティによって定義されます。円柱のトポロジーは、セグメント数とリング数によって定義されます。
プロパティのドキュメント
asynchronous : bool
このプロパティは、ジオメトリの生成を非同期で行うかどうかを指定します。
length : real
このプロパティには、シリンダーの長さが格納されます。有効なシリンダーを生成するには、このプロパティの値が 0 より大きくなければなりません。
radius : real
このプロパティは、円柱の半径を保持します。有効な円柱を生成するには、このプロパティの値が 0 より大きくなければなりません。
rings : int
このプロパティは、円柱のリング数を保持します。リングとは、円柱を縦方向に分割した区分のことです。リングの最小数は 0 です。
segments : int
このプロパティは、円筒のセグメント数を保持します。セグメントとは、円筒を半径方向に区切った部分のことです。セグメントの最小数は 3 です。
status : bool [read-only]
このプロパティは、asynchronous が true の場合、ジオメトリ生成のステータスを保持します。
| 定数 | 説明 |
|---|---|
CylinderGeometry.Null | ジオメトリ生成がまだ開始されていません |
CylinderGeometry.Ready | ジオメトリの生成が完了しています。 |
CylinderGeometry.Loading | ジオメトリの生成が進行中です。 |
CylinderGeometry.Error | ジオメトリの生成に失敗しました。 |
© 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.