Package | Box2DAS.Dynamics.Joints |
Class | public class b2LineJoint |
Inheritance | b2LineJoint 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 | b2LineJoint | ||
m_a2 : Number | b2LineJoint | ||
m_axis : b2Vec2 | b2LineJoint | ||
m_bodyA : b2Body | b2Joint | ||
m_bodyB : b2Body | b2Joint | ||
m_collideConnected : Boolean | b2Joint | ||
mem : MemUser [static] | b2Base | ||
m_enableLimit : Boolean | b2LineJoint | ||
m_enableMotor : Boolean | b2LineJoint | ||
m_impulse : b2Vec2 | b2LineJoint | ||
m_islandFlag : Boolean | b2Joint | ||
m_limitState : int | b2LineJoint | ||
m_localAnchor1 : b2Vec2 | b2LineJoint | ||
m_localAnchor2 : b2Vec2 | b2LineJoint | ||
m_localXAxis1 : b2Vec2 | b2LineJoint | ||
m_localYAxis1 : b2Vec2 | b2LineJoint | ||
m_lowerTranslation : Number | b2LineJoint | ||
m_maxMotorForce : Number | b2LineJoint | ||
m_motorImpulse : Number | b2LineJoint | ||
m_motorMass : Number | b2LineJoint | ||
m_motorSpeed : Number | b2LineJoint | ||
m_next : b2Joint | b2Joint | ||
m_perp : b2Vec2 | b2LineJoint | ||
m_prev : b2Joint | b2Joint | ||
m_s1 : Number | b2LineJoint | ||
m_s2 : Number | b2LineJoint | ||
m_type : int | b2Joint | ||
m_upperTranslation : Number | b2LineJoint | ||
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 | ||
---|---|---|---|
b2LineJoint | |||
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] | b2LineJoint | ||
EnableMotor(flag:Boolean):void [override] | b2LineJoint | ||
GetAnchorA():V2 [override] | b2LineJoint | ||
GetAnchorB():V2 [override] | b2LineJoint | ||
getArr():Array [static] | b2Base | ||
b2Joint | |||
b2Joint | |||
GetDampingRatio():Number | b2Joint | ||
GetFrequency():Number | b2Joint | ||
GetJointSpeed():Number | b2LineJoint | ||
GetJointTranslation():Number | b2LineJoint | ||
GetLowerLimit():Number [override] | b2LineJoint | ||
GetMaxMotorForce():Number [override] | b2LineJoint | ||
GetMaxMotorTorque():Number | b2Joint | ||
GetMotorForce():Number | b2LineJoint | ||
GetMotorSpeed():Number [override] | b2LineJoint | ||
b2Joint | |||
GetReactionForce(inv_dt:Number):V2 [override] | b2LineJoint | ||
GetReactionTorque(inv_dt:Number):Number [override] | b2LineJoint | ||
GetType():int | b2Joint | ||
GetUpperLimit():Number [override] | b2LineJoint | ||
GetUserData():* | b2Joint | ||
hasEventListener(type:String):Boolean | b2EventDispatcher | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
IsLimitEnabled():Boolean [override] | b2LineJoint | ||
IsMotorEnabled():Boolean [override] | b2LineJoint | ||
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] | b2LineJoint | ||
SetLowerLimit(l:Number):void [override] | b2LineJoint | ||
SetMaxMotorForce(force:Number):void [override] | b2LineJoint | ||
SetMaxMotorTorque(v:Number):void | b2Joint | ||
SetMotorSpeed(speed:Number):void [override] | b2LineJoint | ||
SetUpperLimit(l:Number):void [override] | b2LineJoint | ||
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:b2Vec2
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_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
b2LineJoint | () | Constructor |
public function b2LineJoint(w:b2World, d:b2LineJointDef = null, ed:IEventDispatcher = null)
w:b2World | |
d:b2LineJointDef (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 |