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.