PhysicsManager.DrawBits
Enum
Module: cc
The draw bits for drawing physics debug information.
example:
cc.director.getPhysicsManager().debugDrawFlags =
// cc.PhysicsManager.DrawBits.e_aabbBit |
// cc.PhysicsManager.DrawBits.e_pairBit |
// cc.PhysicsManager.DrawBits.e_centerOfMassBit |
cc.PhysicsManager.DrawBits.e_jointBit |
cc.PhysicsManager.DrawBits.e_shapeBit;
Index
e_aabbBit
e_jointBit
e_shapeBit
Details
e_aabbBit
Draw bounding boxes
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsManager.js:664 |
e_jointBit
Draw joint connections
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsManager.js:672 |
e_shapeBit
Draw shapes
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/physics/CCPhysicsManager.js:680 |