CollisionShape QML Type

Base type for collision shapes. 更多...

import 语句: import QtQuick3D.Physics
Since: Qt 6.4
继承: Node
继承者: BoxShape , CapsuleShape , ConvexMeshShape , HeightFieldShape , PlaneShape , SphereShape ,和 TriangleMeshShape

特性

详细描述

This is the base type for all collision shapes. A collision shape is used to define the physical shape and extent of an object for the purposes of the physics simulation.

另请参阅 Shapes and Bodies overview documentation .

特性文档编制

enableDebugDraw : bool

This property enables drawing the shape's debug view.