Package | Box2DAS.Dynamics.Joints |
Class | public class b2PrismaticJoint |
Inheritance | b2PrismaticJoint b2Joint b2EventDispatcher b2Base Object |
Property | Defined By | ||
---|---|---|---|
bytes : ByteArray [static] | b2Base | ||
dispatcher : IEventDispatcher | b2EventDispatcher | ||
ID : int | b2Joint | ||
initialized : Boolean = false [static] | b2Base | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
m_a1 : Number | b2PrismaticJoint | ||
m_a2 : Number | b2PrismaticJoint | ||
m_axis : b2Vec2 | b2PrismaticJoint | ||
m_bodyA : b2Body | b2Joint | ||
m_bodyB : b2Body | b2Joint | ||
m_collideConnected : Boolean | b2Joint | ||
mem : MemUser [static] | b2Base | ||
m_enableLimit : Boolean | b2PrismaticJoint | ||
m_enableMotor : Boolean | b2PrismaticJoint | ||
m_impulse : b2Vec3 | b2PrismaticJoint | ||
m_islandFlag : Boolean | b2Joint | ||
m_limitState : int | b2PrismaticJoint | ||
m_localAnchor1 : b2Vec2 | b2PrismaticJoint | ||
m_localAnchor2 : b2Vec2 | b2PrismaticJoint | ||
m_localXAxis1 : b2Vec2 | b2PrismaticJoint | ||
m_localYAxis1 : b2Vec2 | b2PrismaticJoint | ||
m_lowerTranslation : Number | b2PrismaticJoint | ||
m_maxMotorForce : Number | b2PrismaticJoint | ||
m_motorImpulse : Number | b2PrismaticJoint | ||
m_motorMass : Number | b2PrismaticJoint | ||
m_motorSpeed : Number | b2PrismaticJoint | ||
m_next : b2Joint | b2Joint | ||
m_perp : b2Vec2 | b2PrismaticJoint | ||
m_prev : b2Joint | b2Joint | ||
m_refAngle : Number | b2PrismaticJoint | ||
m_s1 : Number | b2PrismaticJoint | ||
m_s2 : Number | b2PrismaticJoint | ||
m_type : int | b2Joint | ||
m_upperTranslation : Number | b2PrismaticJoint | ||
m_userData : * | b2Joint | ||
m_world : b2World | b2Joint | ||
_ptr : Number | b2Base | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2PrismaticJoint | |||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | b2EventDispatcher | ||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void [override] | b2Joint | ||
dispatchEvent(evt:Event):Boolean | b2EventDispatcher | ||
EnableLimit(flag:Boolean):void [override] | b2PrismaticJoint | ||
EnableMotor(flag:Boolean):void [override] | b2PrismaticJoint | ||
GetAnchorA():V2 [override] | b2PrismaticJoint | ||
GetAnchorB():V2 [override] | b2PrismaticJoint | ||
getArr():Array [static] | b2Base | ||
b2Joint | |||
b2Joint | |||
GetDampingRatio():Number | b2Joint | ||
GetFrequency():Number | b2Joint | ||
GetJointSpeed():Number | b2PrismaticJoint | ||
GetJointTranslation():Number | b2PrismaticJoint | ||
GetLowerLimit():Number [override] | b2PrismaticJoint | ||
GetMaxMotorForce():Number [override] | b2PrismaticJoint | ||
GetMaxMotorTorque():Number | b2Joint | ||
GetMotorForce():Number | b2PrismaticJoint | ||
GetMotorSpeed():Number [override] | b2PrismaticJoint | ||
b2Joint | |||
GetReactionForce(inv_dt:Number):V2 [override] | b2PrismaticJoint | ||
GetReactionTorque(inv_dt:Number):Number [override] | b2PrismaticJoint | ||
GetType():int | b2Joint | ||
GetUpperLimit():Number [override] | b2PrismaticJoint | ||
GetUserData():* | b2Joint | ||
hasEventListener(type:String):Boolean | b2EventDispatcher | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
IsLimitEnabled():Boolean [override] | b2PrismaticJoint | ||
IsMotorEnabled():Boolean [override] | b2PrismaticJoint | ||
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array. | b2Base | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | b2EventDispatcher | ||
SetDampingRatio(v:Number):void | b2Joint | ||
SetFrequency(v:Number):void | b2Joint | ||
SetLimits(lower:Number, upper:Number):void [override] | b2PrismaticJoint | ||
SetLowerLimit(l:Number):void [override] | b2PrismaticJoint | ||
SetMaxMotorForce(force:Number):void [override] | b2PrismaticJoint | ||
SetMaxMotorTorque(v:Number):void | b2Joint | ||
SetMotorSpeed(speed:Number):void [override] | b2PrismaticJoint | ||
SetUpperLimit(l:Number):void [override] | b2PrismaticJoint | ||
SetUserData(data:*):void | b2Joint | ||
WakeUp():void | b2Joint | ||
willTrigger(type:String):Boolean | b2EventDispatcher | ||
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 |
m_a1 | property |
m_a1:Number
public function get m_a1():Number
public function set m_a1(value:Number):void
m_a2 | property |
m_a2:Number
public function get m_a2():Number
public function set m_a2(value:Number):void
m_axis | property |
public var m_axis:b2Vec2
m_enableLimit | property |
m_enableLimit:Boolean
public function get m_enableLimit():Boolean
public function set m_enableLimit(value:Boolean):void
m_enableMotor | property |
m_enableMotor:Boolean
public function get m_enableMotor():Boolean
public function set m_enableMotor(value:Boolean):void
m_impulse | property |
public var m_impulse:b2Vec3
m_limitState | property |
m_limitState:int
public function get m_limitState():int
public function set m_limitState(value:int):void
m_localAnchor1 | property |
public var m_localAnchor1:b2Vec2
m_localAnchor2 | property |
public var m_localAnchor2:b2Vec2
m_localXAxis1 | property |
public var m_localXAxis1:b2Vec2
m_localYAxis1 | property |
public var m_localYAxis1:b2Vec2
m_lowerTranslation | property |
m_lowerTranslation:Number
public function get m_lowerTranslation():Number
public function set m_lowerTranslation(value:Number):void
m_maxMotorForce | property |
m_maxMotorForce:Number
public function get m_maxMotorForce():Number
public function set m_maxMotorForce(value:Number):void
m_motorImpulse | property |
m_motorImpulse:Number
public function get m_motorImpulse():Number
public function set m_motorImpulse(value:Number):void
m_motorMass | property |
m_motorMass:Number
public function get m_motorMass():Number
public function set m_motorMass(value:Number):void
m_motorSpeed | property |
m_motorSpeed:Number
public function get m_motorSpeed():Number
public function set m_motorSpeed(value:Number):void
m_perp | property |
public var m_perp:b2Vec2
m_refAngle | property |
m_refAngle:Number
public function get m_refAngle():Number
public function set m_refAngle(value:Number):void
m_s1 | property |
m_s1:Number
public function get m_s1():Number
public function set m_s1(value:Number):void
m_s2 | property |
m_s2:Number
public function get m_s2():Number
public function set m_s2(value:Number):void
m_upperTranslation | property |
m_upperTranslation:Number
public function get m_upperTranslation():Number
public function set m_upperTranslation(value:Number):void
b2PrismaticJoint | () | Constructor |
public function b2PrismaticJoint(w:b2World, d:b2PrismaticJointDef = null, ed:IEventDispatcher = null)
w:b2World | |
d:b2PrismaticJointDef (default = null )
| |
ed:IEventDispatcher (default = null )
|
EnableLimit | () | method |
override public function EnableLimit(flag:Boolean):void
Parameters
flag:Boolean |
EnableMotor | () | method |
override public function EnableMotor(flag:Boolean):void
Parameters
flag:Boolean |
GetAnchorA | () | method |
GetAnchorB | () | method |
GetJointSpeed | () | method |
public function GetJointSpeed():Number
ReturnsNumber |
GetJointTranslation | () | method |
public function GetJointTranslation():Number
ReturnsNumber |
GetLowerLimit | () | method |
override public function GetLowerLimit():Number
ReturnsNumber |
GetMaxMotorForce | () | method |
override public function GetMaxMotorForce():Number
ReturnsNumber |
GetMotorForce | () | method |
public function GetMotorForce():Number
ReturnsNumber |
GetMotorSpeed | () | method |
override public function GetMotorSpeed():Number
ReturnsNumber |
GetReactionForce | () | method |
GetReactionTorque | () | method |
override public function GetReactionTorque(inv_dt:Number):Number
Parameters
inv_dt:Number |
Number |
GetUpperLimit | () | method |
override public function GetUpperLimit():Number
ReturnsNumber |
IsLimitEnabled | () | method |
override public function IsLimitEnabled():Boolean
ReturnsBoolean |
IsMotorEnabled | () | method |
override public function IsMotorEnabled():Boolean
ReturnsBoolean |
SetLimits | () | method |
override public function SetLimits(lower:Number, upper:Number):void
Parameters
lower:Number | |
upper:Number |
SetLowerLimit | () | method |
override public function SetLowerLimit(l:Number):void
Parameters
l:Number |
SetMaxMotorForce | () | method |
override public function SetMaxMotorForce(force:Number):void
Parameters
force:Number |
SetMotorSpeed | () | method |
override public function SetMotorSpeed(speed:Number):void
Parameters
speed:Number |
SetUpperLimit | () | method |
override public function SetUpperLimit(l:Number):void
Parameters
l:Number |