SphereShape QML Type

Defines a spherical collision shape. 更多...

import 语句: import QtQuick3D.Physics
Since: Qt 6.4
继承:

CollisionShape

特性

详细描述

This type defines a spherical shape. The origin is at the center of the sphere.

注意: 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.

特性文档编制

diameter : float

This property defines the diameter of the sphere