PackageBox2DAS.Dynamics.Joints
Classpublic class b2JointDef
Inheritanceb2JointDef Inheritance b2Base Inheritance Object
Subclasses b2DistanceJointDef, b2FrictionJointDef, b2GearJointDef, b2LineJointDef, b2MouseJointDef, b2PrismaticJointDef, b2PulleyJointDef, b2RevoluteJointDef, b2WeldJointDef



Public Properties
 PropertyDefined By
  actor1 : int
b2JointDef
  actor2 : int
b2JointDef
  anchor1 : String
b2JointDef
  anchor2 : String
b2JointDef
  _bodyA : b2Body
b2JointDef
  bodyA : b2Body
b2JointDef
  _bodyB : b2Body
b2JointDef
  bodyB : b2Body
b2JointDef
 Inheritedbytes : ByteArray
[static]
b2Base
  CENTER : String = center
[static]
b2JointDef
  collideConnected : Boolean
b2JointDef
  ID : int
b2JointDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
 Inheritedmem : MemUser
[static]
b2Base
  name : String
b2JointDef
 Inherited_ptr : Number
b2Base
  type : int
b2JointDef
  userData : *
b2JointDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
create(w:b2World, ed:IEventDispatcher = null):b2Joint
b2JointDef
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
 Inherited
destroy():void
Destroy base function just sets _ptr = 0.
b2Base
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 Inherited
writeVertices(adr:int, v:Vector.<V2>):void
Write a vertex array of the format [new V2(x,y), new V2(x,y), ...] to C++ memory.
b2Base
Property Detail
_bodyAproperty
public var _bodyA:b2Body

_bodyBproperty 
public var _bodyB:b2Body

actor1property 
public var actor1:int

actor2property 
public var actor2:int

anchor1property 
public var anchor1:String

anchor2property 
public var anchor2:String

bodyAproperty 
bodyA:b2Body


Implementation
    public function get bodyA():b2Body
    public function set bodyA(value:b2Body):void
bodyBproperty 
bodyB:b2Body


Implementation
    public function get bodyB():b2Body
    public function set bodyB(value:b2Body):void
CENTERproperty 
public static var CENTER:String = center

collideConnectedproperty 
collideConnected:Boolean


Implementation
    public function get collideConnected():Boolean
    public function set collideConnected(value:Boolean):void
IDproperty 
public var ID:int

nameproperty 
public var name:String

typeproperty 
type:int


Implementation
    public function get type():int
    public function set type(value:int):void
userDataproperty 
public var userData:*

Method Detail
create()method
public function create(w:b2World, ed:IEventDispatcher = null):b2Joint

Parameters

w:b2World
 
ed:IEventDispatcher (default = null)

Returns
b2Joint