CapsuleGeometry QML Type
カプセルのジオメトリを提供します。詳細...
Import Statement: | import QtQuick3D.Helpers |
Since: | Qt 6.10 |
Inherits: |
プロパティ
- asynchronous : bool
- diameter : real
- enableNormals : bool
- enableUV : bool
- height : real
- latitudes : int
- longitudes : int
- rings : int
- status : bool
- uvProfile : UVProfile
詳細説明
カプセルモデルを生成するためのジオメトリ。カプセルは(0, 0, 0)
を中心とし、カプセルの高さは x 方向に、直径は yz 平面上に伸びている。
プロパティ ドキュメント
asynchronous : bool |
このプロパティは、ジオメトリ生成を非同期に行うかどうかを保持します。
diameter : real |
yz平面上の直径。
enableNormals : bool |
メッシュ面の法線を生成します。
enableUV : bool |
メッシュのUV座標を生成します。
height : real |
半球を除いたx軸上の中央円柱の高さ。
latitudes : int |
緯度の数。常に偶数にスナップされます。
longitudes : int |
経度または子午線の数。
rings : int |
半球間の円柱のセクション数。
status : bool |
このプロパティは、asynchronousがtrueのときのジオメトリ生成の状態を保持します。
定数 | 説明 |
---|---|
CapsuleGeometry.Null | ジオメトリ生成が開始されていない |
CapsuleGeometry.Ready | ジオメトリ生成完了 |
CapsuleGeometry.Loading | ジオメトリ生成中 |
CapsuleGeometry.Error | ジオメトリ生成に失敗しました。 |
uvProfile : UVProfile |
UV座標がカプセルの長さに沿って分配される方法。
定数 | 説明 |
---|---|
CapsuleGeometry.Fixed | UVテクスチャの上3分の1は北半球、中央3分の1は円柱、最後の3分の1は南半球です。 |
CapsuleGeometry.Aspect | UVは高さと半径の比率に一致します。 |
CapsuleGeometry.Uniform | 緯度と環の比率に従って、すべてのUVセルで均一な比率。 |
© 2025 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.