BoxShape QML Type

Defines a box collision shape. 更多...

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

特性

详细描述

This type defines a box collision shape. The origin is at the center of the box.

注意: A non-uniform scaling transformation will scale the x, y and z directions individually. However, combining non-uniform scale and rotation may lead to shearing, which will not be applied to the BoxShape: it will always be a rectilinear box.

另请参阅 Shapes and Bodies overview documentation .

特性文档编制

extents : vector3d

This property defines the extents of the box in the x, y and z directions.