SphereShape QML Type
Defines a spherical collision shape. More...
Import Statement: | import QtQuick3D.Physics |
Since: | Qt 6.4 |
Inherits: |
Properties
- diameter : float
Detailed Description
This type defines a spherical shape. The origin is at the center of the sphere.
Note: When using a scaling transformation with this shape, the x component will be used to scale the diameter of the sphere. The resulting shape will be perfectly round, even if a non-uniform scaling transformation is used.
Property Documentation
diameter : float |
This property defines the diameter of the sphere
Default value: 100
© 2024 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.