ConeGeometry QML Type
円錐の幾何学的情報を提供します。詳細...
| Import Statement: | import QtQuick3D.Helpers |
| Since: | Qt 6.9 |
| Inherits: |
プロパティ
- asynchronous : bool
- bottomRadius : real
- length : real
- rings : int
- segments : int
- status : bool
- topRadius : real
詳細な説明
ConeGeometry は、円錐を表すジオメトリ型です。円錐のサイズは、頂点の半径、底面の半径、および長さによって定義されます。円錐のトポロジーは、リングの数とセグメントの数によって定義されます。
プロパティのドキュメント
asynchronous : bool
このプロパティは、ジオメトリの生成を非同期で行うかどうかを指定します。
bottomRadius : real
このプロパティは、円錐の底面の半径を指定します。
注: topRadius とbottomRadiusを同時に設定することはできません。0.0
length : real
このプロパティは、円錐の長さを表します。円錐を生成するには、この値が 0 より大きくなければなりません。
rings : int
このプロパティは、円錐のリング数(円錐を垂直方向に分割した区画の数)を保持します。最小値は 0 で、これは円錐に垂直方向の分割がないことを意味します。
segments : int
このプロパティは、円錐のセグメント数を保持します。最小値は 3 であり、これより小さい値を設定すると、ジオメトリは生成されません。
status : bool [read-only]
このプロパティは、asynchronous が true の場合、ジオメトリ生成のステータスを保持します。
| 定数 | 説明 |
|---|---|
ConeGeometry.Null | ジオメトリの生成がまだ開始されていません |
ConeGeometry.Ready | ジオメトリの生成が完了しています。 |
ConeGeometry.Loading | ジオメトリの生成が進行中です。 |
ConeGeometry.Error | ジオメトリの生成に失敗しました。 |
topRadius : real
このプロパティは、円錐の上端の半径を指定します。この値は 0 以上である必要があります。
注:topRadius とbottomRadius を同時に設定することはできません。0.0
© 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.