Package | Box2DAS.Dynamics.Joints |
Class | public class b2DistanceJoint |
Inheritance | b2DistanceJoint 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_bias : Number | b2DistanceJoint | ||
m_bodyA : b2Body | b2Joint | ||
m_bodyB : b2Body | b2Joint | ||
m_collideConnected : Boolean | b2Joint | ||
m_dampingRatio : Number | b2DistanceJoint | ||
mem : MemUser [static] | b2Base | ||
m_frequencyHz : Number | b2DistanceJoint | ||
m_gamma : Number | b2DistanceJoint | ||
m_impulse : Number | b2DistanceJoint | ||
m_islandFlag : Boolean | b2Joint | ||
m_length : Number | b2DistanceJoint | ||
m_localAnchor1 : b2Vec2 | b2DistanceJoint | ||
m_localAnchor2 : b2Vec2 | b2DistanceJoint | ||
m_mass : Number | b2DistanceJoint | ||
m_next : b2Joint | b2Joint | ||
m_prev : b2Joint | b2Joint | ||
m_type : int | b2Joint | ||
m_u : b2Vec2 | b2DistanceJoint | ||
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 | ||
---|---|---|---|
b2DistanceJoint | |||
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 | b2Joint | ||
EnableMotor(v:Boolean):void | b2Joint | ||
GetAnchorA():V2 [override] | b2DistanceJoint | ||
GetAnchorB():V2 [override] | b2DistanceJoint | ||
getArr():Array [static] | b2Base | ||
b2Joint | |||
b2Joint | |||
GetDampingRatio():Number [override] | b2DistanceJoint | ||
GetFrequency():Number [override] | b2DistanceJoint | ||
GetLength():Number | b2DistanceJoint | ||
GetLowerLimit():Number | b2Joint | ||
GetMaxMotorForce():Number | b2Joint | ||
GetMaxMotorTorque():Number | b2Joint | ||
GetMotorSpeed():Number | b2Joint | ||
b2Joint | |||
GetReactionForce(inv_dt:Number):V2 [override] | b2DistanceJoint | ||
GetReactionTorque(inv_dt:Number):Number [override] | b2DistanceJoint | ||
GetType():int | b2Joint | ||
GetUpperLimit():Number | b2Joint | ||
GetUserData():* | b2Joint | ||
hasEventListener(type:String):Boolean | b2EventDispatcher | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
IsLimitEnabled():Boolean | b2Joint | ||
IsMotorEnabled():Boolean | b2Joint | ||
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(ratio:Number):void [override] | b2DistanceJoint | ||
SetFrequency(hz:Number):void [override] | b2DistanceJoint | ||
SetLength(length:Number):void | b2DistanceJoint | ||
SetLimits(lower:Number, upper:Number):void | b2Joint | ||
SetLowerLimit(l:Number):void | b2Joint | ||
SetMaxMotorForce(v:Number):void | b2Joint | ||
SetMaxMotorTorque(v:Number):void | b2Joint | ||
SetMotorSpeed(v:Number):void | b2Joint | ||
SetUpperLimit(l:Number):void | b2Joint | ||
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_bias | property |
m_bias:Number
public function get m_bias():Number
public function set m_bias(value:Number):void
m_dampingRatio | property |
m_dampingRatio:Number
public function get m_dampingRatio():Number
public function set m_dampingRatio(value:Number):void
m_frequencyHz | property |
m_frequencyHz:Number
public function get m_frequencyHz():Number
public function set m_frequencyHz(value:Number):void
m_gamma | property |
m_gamma:Number
public function get m_gamma():Number
public function set m_gamma(value:Number):void
m_impulse | property |
m_impulse:Number
public function get m_impulse():Number
public function set m_impulse(value:Number):void
m_length | property |
m_length:Number
public function get m_length():Number
public function set m_length(value:Number):void
m_localAnchor1 | property |
public var m_localAnchor1:b2Vec2
m_localAnchor2 | property |
public var m_localAnchor2:b2Vec2
m_mass | property |
m_mass:Number
public function get m_mass():Number
public function set m_mass(value:Number):void
m_u | property |
public var m_u:b2Vec2
b2DistanceJoint | () | Constructor |
public function b2DistanceJoint(w:b2World, d:b2DistanceJointDef = null, ed:IEventDispatcher = null)
w:b2World | |
d:b2DistanceJointDef (default = null )
| |
ed:IEventDispatcher (default = null )
|
GetAnchorA | () | method |
GetAnchorB | () | method |
GetDampingRatio | () | method |
override public function GetDampingRatio():Number
ReturnsNumber |
GetFrequency | () | method |
override public function GetFrequency():Number
ReturnsNumber |
GetLength | () | method |
public function GetLength():Number
ReturnsNumber |
GetReactionForce | () | method |
GetReactionTorque | () | method |
override public function GetReactionTorque(inv_dt:Number):Number
Parameters
inv_dt:Number |
Number |
SetDampingRatio | () | method |
override public function SetDampingRatio(ratio:Number):void
Parameters
ratio:Number |
SetFrequency | () | method |
override public function SetFrequency(hz:Number):void
Parameters
hz:Number |
SetLength | () | method |
public function SetLength(length:Number):void
Parameters
length:Number |