PackageBox2DAS.Dynamics.Joints
Classpublic class b2PrismaticJointDef
Inheritanceb2PrismaticJointDef 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
b2PrismaticJointDef
  enableMotor : Boolean
b2PrismaticJointDef
 InheritedID : int
b2JointDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
  localAnchorA : b2Vec2
b2PrismaticJointDef
  localAnchorB : b2Vec2
b2PrismaticJointDef
  localAxis1 : b2Vec2
b2PrismaticJointDef
  lowerTranslation : Number
b2PrismaticJointDef
  maxMotorForce : Number
b2PrismaticJointDef
 Inheritedmem : MemUser
[static]
b2Base
  motorSpeed : Number
b2PrismaticJointDef
 Inheritedname : String
b2JointDef
 Inherited_ptr : Number
b2Base
  referenceAngle : Number
b2PrismaticJointDef
 Inheritedtype : int
b2JointDef
  upperTranslation : Number
b2PrismaticJointDef
 InheriteduserData : *
b2JointDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2PrismaticJointDef
 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]
b2PrismaticJointDef
 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
b2PrismaticJointDef
 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

localAxis1property 
public var localAxis1: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
referenceAngleproperty 
referenceAngle:Number


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


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



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