CollisionShape QML Type

碰撞形状的基本类型。更多

Import Statement: import QtQuick3D.Physics
Since: Qt 6.4
Inherits:

Node

Inherited By:

BoxShape, CapsuleShape, ConvexMeshShape, HeightFieldShape, PlaneShape, SphereShape, and TriangleMeshShape

属性

详细说明

这是所有碰撞形状的基本类型。碰撞形状用于在物理模拟中定义物体的物理形状和范围。

另请参阅 形状和物体概述文档

属性文档

enableDebugDraw : bool

此属性用于绘制形状的调试视图。

默认值:false


© 2025 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.