CapsuleShape QML Type
錠剤のような形状を定義します。詳細...
| Import Statement: | import QtQuick3D.Physics |
| Since: | Qt 6.4 |
| Inherits: |
プロパティ
詳細な説明
このタイプはカプセルの形状を定義します。これは、両端に半球を持つ円柱です。原点はカプセルの中心にあります。カプセルは、円柱および半球の直径を決定する `diameter` と、円柱の高さを決定する `height` によって指定されます。
注: この形状に対してスケーリング変換を適用する場合 、x成分は高さのスケーリングに、y成分は直径のスケーリングに使用されます。スケーリング変換が非一様であっても、円柱は常に完全な円形を保ちます。
「 Qt Quick 」 の「3D 物理形状、ボディ、ジョイント」も参照してください 。
プロパティのドキュメント
diameter : real
このプロパティは、カプセルの直径を定義します
デフォルト値:100
height : real
このプロパティは、カプセルの高さを定義します
デフォルト値:100
© 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.