CapsuleGeometry QML Type

カプセルのジオメトリを提供します。詳細...

Import Statement: import QtQuick3D.Helpers
Since: Qt 6.10
Inherits:

Geometry

プロパティ

詳細説明

カプセルモデルを生成するためのジオメトリ。カプセルは(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.FixedUVテクスチャの上3分の1は北半球、中央3分の1は円柱、最後の3分の1は南半球です。
CapsuleGeometry.AspectUVは高さと半径の比率に一致します。
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.