PackageBox2DAS.Common
Classpublic class b2Def
Inheritanceb2Def Inheritance Object

Holds static Box2D definition objects that can be reused for performance.



Public Properties
 PropertyDefined By
  body : b2BodyDef
[static]
b2Def
  circle : b2CircleShape
[static]
b2Def
  distanceInput : b2DistanceInput
[static]
b2Def
  distanceJoint : b2DistanceJointDef
[static]
b2Def
  distanceOutput : b2DistanceOutput
[static]
b2Def
  edge : b2EdgeShape
[static]
b2Def
  fixture : b2FixtureDef
[static]
b2Def
  frictionJoint : b2FrictionJointDef
[static]
b2Def
  gearJoint : b2GearJointDef
[static]
b2Def
  lineJoint : b2LineJointDef
[static]
b2Def
  loop : b2LoopShape
[static]
b2Def
  mouseJoint : b2MouseJointDef
[static]
b2Def
  polygon : b2PolygonShape
[static]
b2Def
  prismaticJoint : b2PrismaticJointDef
[static]
b2Def
  pulleyJoint : b2PulleyJointDef
[static]
b2Def
  revoluteJoint : b2RevoluteJointDef
[static]
b2Def
  simplexCache : b2SimplexCache
[static]
b2Def
  weldJoint : b2WeldJointDef
[static]
b2Def
Public Methods
 MethodDefined By
  
destroy():void
[static] Destroy all definitions.
b2Def
  
initialize():void
[static] Create static definition objects.
b2Def
Property Detail
bodyproperty
public static var body:b2BodyDef

circleproperty 
public static var circle:b2CircleShape

distanceInputproperty 
public static var distanceInput:b2DistanceInput

distanceJointproperty 
public static var distanceJoint:b2DistanceJointDef

distanceOutputproperty 
public static var distanceOutput:b2DistanceOutput

edgeproperty 
public static var edge:b2EdgeShape

fixtureproperty 
public static var fixture:b2FixtureDef

frictionJointproperty 
public static var frictionJoint:b2FrictionJointDef

gearJointproperty 
public static var gearJoint:b2GearJointDef

lineJointproperty 
public static var lineJoint:b2LineJointDef

loopproperty 
public static var loop:b2LoopShape

mouseJointproperty 
public static var mouseJoint:b2MouseJointDef

polygonproperty 
public static var polygon:b2PolygonShape

prismaticJointproperty 
public static var prismaticJoint:b2PrismaticJointDef

pulleyJointproperty 
public static var pulleyJoint:b2PulleyJointDef

revoluteJointproperty 
public static var revoluteJoint:b2RevoluteJointDef

simplexCacheproperty 
public static var simplexCache:b2SimplexCache

weldJointproperty 
public static var weldJoint:b2WeldJointDef

Method Detail
destroy()method
public static function destroy():void

Destroy all definitions.

initialize()method 
public static function initialize():void

Create static definition objects. Can be re-called to re-initialize.