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 [default: true]
このプロパティは、ジオメトリ生成を非同期に行うかどうかを保持する。
diameter : real [default: 100]
yz平面上の直径。
enableNormals : bool [default: true]
メッシュ面の法線を生成する。
enableUV : bool [default: false]
メッシュのUV座標を生成する。
height : real [default: 100]
半球を除いた中央の円柱のx軸上の高さ。
latitudes : int [default: 16]
緯度の数。常に偶数になる。
longitudes : int [default: 32]
経度(子午線)を方位角ごとに分配した数。
rings : int [default: 1]
半球間のシリンダー内のセクション数。
status : bool [read-only]
このプロパティは、asynchronous が true の場合のジオメトリ生成の状態を保持します。
| 定数 | 説明 |
|---|---|
CapsuleGeometry.Null | ジオメトリ生成が開始されていない |
CapsuleGeometry.Ready | ジオメトリ生成完了 |
CapsuleGeometry.Loading | ジオメトリ生成中 |
CapsuleGeometry.Error | ジオメトリ生成に失敗しました。 |
uvProfile : UVProfile [default: CapsuleGeometry.Fixed]
UV座標がカプセルの長さ方向に分布する方法。
| 定数 | 説明 |
|---|---|
CapsuleGeometry.Fixed | UVテクスチャの上部3分の1は北半球、中央3分の1は円柱、最後の3分の1は南半球です。 |
CapsuleGeometry.Aspect | UVは高さと半径の比率に一致します。 |
CapsuleGeometry.Uniform | 緯度と環の比率に従って、すべてのUVセルで均一な比率。 |
© 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.