Skip to content

Class: btIDebugDraw ​

Ammo.btIDebugDraw

Constructors ​

Methods ​

Constructors ​

constructor ​

• new btIDebugDraw(): btIDebugDraw

Returns ​

btIDebugDraw

Methods ​

drawLine ​

▸ drawLine(from, to, color): void

Parameters ​

NameType
frombtVector3
tobtVector3
colorbtVector3

Returns ​

void

Defined in ​

packages/ammo/ammo.d.ts:27


drawContactPoint ​

▸ drawContactPoint(pointOnB, normalOnB, distance, lifeTime, color): void

Parameters ​

NameType
pointOnBbtVector3
normalOnBbtVector3
distancenumber
lifeTimenumber
colorbtVector3

Returns ​

void

Defined in ​

packages/ammo/ammo.d.ts:28


reportErrorWarning ​

▸ reportErrorWarning(warningString): void

Parameters ​

NameType
warningStringstring

Returns ​

void

Defined in ​

packages/ammo/ammo.d.ts:29


draw3dText ​

▸ draw3dText(location, textString): void

Parameters ​

NameType
locationbtVector3
textStringstring

Returns ​

void

Defined in ​

packages/ammo/ammo.d.ts:30


setDebugMode ​

▸ setDebugMode(debugMode): void

Parameters ​

NameType
debugModenumber

Returns ​

void

Defined in ​

packages/ammo/ammo.d.ts:31


getDebugMode ​

▸ getDebugMode(): number

Returns ​

number

Defined in ​

packages/ammo/ammo.d.ts:32

Released under the MIT License