このページでは

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 セルに均一な割合が適用されます。

© 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.