CapsuleShape QML Type
Capsule shape. More...
Import Statement: | import QtQuick3DPhysics |
Since: | Qt 6.4 |
Inherits: |
Properties
Detailed Description
This is the capsule shape. It is centered at the origin. It is specified by a diameter and a height value by which its axis extends along the positive and negative X-axis.
Note: When using a scale with this shape, the x component will be used to scale the height and the y component will be used to scale the diameter.
Property Documentation
diameter : float |
This property defines the diameter of the capsule
height : float |
This property defines the height of the capsule
© 2023 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.