Skip to content

Enumeration: DebugDrawMode

Enumeration Members

Enumeration Members

NoDebug

NoDebug = 0

不显示调试信息

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:25


DrawWireframe

DrawWireframe = 1

绘制物理对象的线框

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:29


DrawAabb

DrawAabb = 2

绘制物理对象的包围盒(AABB)

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:33


DrawFeaturesText

DrawFeaturesText = 4

绘制特征点文本

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:37


DrawContactPoints

DrawContactPoints = 8

绘制接触点

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:41


NoDeactivation

NoDeactivation = 16

禁用去激活

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:45


NoHelpText

NoHelpText = 32

不显示帮助文本

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:49


DrawText

DrawText = 64

绘制文本信息

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:53


ProfileTimings

ProfileTimings = 128

显示性能计时信息

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:57


EnableSatComparison

EnableSatComparison = 256

启用 SAT 比较

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:61


DisableBulletLCP

DisableBulletLCP = 512

禁用 Bullet 的 LCP 算法

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:65


EnableCCD

EnableCCD = 1024

启用连续碰撞检测

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:69


DrawConstraints

DrawConstraints = 2048

绘制约束

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:73


DrawConstraintLimits

DrawConstraintLimits = 4096

绘制约束限制

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:77


FastWireframe

FastWireframe = 8192

绘制快速剔除代理的 AABB

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:81


DrawAabbDynamic

DrawAabbDynamic = 16384

绘制动态 AABB 树

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:85


DrawSoftBodies

DrawSoftBodies = 32768

绘制软体物理

Defined in

packages/physics/visualDebug/DebugDrawModeEnum.ts:89