PackageBox2DAS.Dynamics.Joints
Classpublic class b2LineJointDef
Inheritanceb2LineJointDef Inheritance b2JointDef Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedactor1 : int
b2JointDef
 Inheritedactor2 : int
b2JointDef
 Inheritedanchor1 : String
b2JointDef
 Inheritedanchor2 : String
b2JointDef
 Inherited_bodyA : b2Body
b2JointDef
 InheritedbodyA : b2Body
b2JointDef
 Inherited_bodyB : b2Body
b2JointDef
 InheritedbodyB : b2Body
b2JointDef
 Inheritedbytes : ByteArray
[static]
b2Base
 InheritedCENTER : String = center
[static]
b2JointDef
 InheritedcollideConnected : Boolean
b2JointDef
  enableLimit : Boolean
b2LineJointDef
  enableMotor : Boolean
b2LineJointDef
 InheritedID : int
b2JointDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
  localAnchorA : b2Vec2
b2LineJointDef
  localAnchorB : b2Vec2
b2LineJointDef
  localAxisA : b2Vec2
b2LineJointDef
  lowerTranslation : Number
b2LineJointDef
  maxMotorForce : Number
b2LineJointDef
 Inheritedmem : MemUser
[static]
b2Base
  motorSpeed : Number
b2LineJointDef
 Inheritedname : String
b2JointDef
 Inherited_ptr : Number
b2Base
 Inheritedtype : int
b2JointDef
  upperTranslation : Number
b2LineJointDef
 InheriteduserData : *
b2JointDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2LineJointDef
 Inherited
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
  
destroy():void
[override]
b2LineJointDef
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
  
Initialize(b1:b2Body, b2:b2Body, anchor:V2, axis:V2):void
b2LineJointDef
 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
enableLimitproperty
enableLimit:Boolean


Implementation
    public function get enableLimit():Boolean
    public function set enableLimit(value:Boolean):void
enableMotorproperty 
enableMotor:Boolean


Implementation
    public function get enableMotor():Boolean
    public function set enableMotor(value:Boolean):void
localAnchorAproperty 
public var localAnchorA:b2Vec2

localAnchorBproperty 
public var localAnchorB:b2Vec2

localAxisAproperty 
public var localAxisA:b2Vec2

lowerTranslationproperty 
lowerTranslation:Number


Implementation
    public function get lowerTranslation():Number
    public function set lowerTranslation(value:Number):void
maxMotorForceproperty 
maxMotorForce:Number


Implementation
    public function get maxMotorForce():Number
    public function set maxMotorForce(value:Number):void
motorSpeedproperty 
motorSpeed:Number


Implementation
    public function get motorSpeed():Number
    public function set motorSpeed(value:Number):void
upperTranslationproperty 
upperTranslation:Number


Implementation
    public function get upperTranslation():Number
    public function set upperTranslation(value:Number):void
Constructor Detail
b2LineJointDef()Constructor
public function b2LineJointDef()



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

Initialize()method 
public function Initialize(b1:b2Body, b2:b2Body, anchor:V2, axis:V2):void

Parameters

b1:b2Body
 
b2:b2Body
 
anchor:V2
 
axis:V2