ConeGeometry QML Type
ConeGeometry を使用すると、3D 空間に円錐を作成できます。詳細...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QConeGeometry |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
- bottomRadius : real
- hasBottomEndcap : bool
- hasTopEndcap : bool
- indexAttribute : Attribute
- length : real
- normalAttribute : Attribute
- positionAttribute : Attribute
- rings : int
- slices : int
- texCoordAttribute : Attribute
- topRadius : real
詳細な説明
ConeGeometry型は、主にConeMesh 型によって内部的に使用されますが、カスタムGeometryRenderer 型でも使用可能です。ConeGeometry型を使用すると、円錐と円錐台の両方を作成できます。
プロパティのドキュメント
bottomRadius : real
円錐の底部の半径を保持します。
hasBottomEndcap : bool
コーンの底が蓋で覆われているか、開放されているかを判定します。
hasTopEndcap : bool
円錐の頂部が閉じているか、開いているかを判定します。
indexAttribute : Attribute [read-only]
ジオメトリ・インデックス属性を保持します。
length : real
円錐の長さを保持します。
normalAttribute : Attribute [read-only]
ジオメトリの法線属性を保持します。
positionAttribute : Attribute [read-only]
ジオメトリの位置属性を保持します。
rings : int
ジオメトリに含まれるリングの数を保持します。
slices : int
ジオメトリに含まれるスライスの数を保持します。
texCoordAttribute : Attribute [read-only]
ジオメトリのテクスチャ座標属性を保持します。
topRadius : real
円錐の頂点半径を保持します。
© 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.