Package | Box2DAS.Dynamics.Joints |
Class | public class b2GearJoint |
Inheritance | b2GearJoint b2Joint b2EventDispatcher b2Base Object |
Method | Defined By | ||
---|---|---|---|
b2GearJoint | |||
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] | b2GearJoint | ||
GetAnchorB():V2 [override] | b2GearJoint | ||
getArr():Array [static] | b2Base | ||
b2Joint | |||
b2Joint | |||
GetDampingRatio():Number | b2Joint | ||
GetFrequency():Number | b2Joint | ||
GetLowerLimit():Number | b2Joint | ||
GetMaxMotorForce():Number | b2Joint | ||
GetMaxMotorTorque():Number | b2Joint | ||
GetMotorSpeed():Number | b2Joint | ||
b2Joint | |||
GetReactionForce(inv_dt:Number):V2 [override] | b2GearJoint | ||
GetReactionTorque(inv_dt:Number):Number [override] | b2GearJoint | ||
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(v:Number):void | b2Joint | ||
SetFrequency(v:Number):void | b2Joint | ||
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_constant | property |
m_constant:Number
public function get m_constant():Number
public function set m_constant(value:Number):void
m_ground1 | property |
public var m_ground1:b2Body
m_ground2 | property |
public var m_ground2:b2Body
m_groundAnchor1 | property |
public var m_groundAnchor1:b2Vec2
m_groundAnchor2 | property |
public var m_groundAnchor2:b2Vec2
m_impulse | property |
m_impulse:Number
public function get m_impulse():Number
public function set m_impulse(value:Number):void
m_J | property |
public var m_J:b2Jacobian
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_prismatic1 | property |
public var m_prismatic1:b2PrismaticJoint
m_prismatic2 | property |
public var m_prismatic2:b2PrismaticJoint
m_ratio | property |
m_ratio:Number
public function get m_ratio():Number
public function set m_ratio(value:Number):void
m_revolute1 | property |
public var m_revolute1:b2RevoluteJoint
m_revolute2 | property |
public var m_revolute2:b2RevoluteJoint
b2GearJoint | () | Constructor |
public function b2GearJoint(w:b2World, d:b2GearJointDef = null, ed:IEventDispatcher = null)
w:b2World | |
d:b2GearJointDef (default = null )
| |
ed:IEventDispatcher (default = null )
|
GetAnchorA | () | method |
GetAnchorB | () | method |
GetReactionForce | () | method |
GetReactionTorque | () | method |
override public function GetReactionTorque(inv_dt:Number):Number
Parameters
inv_dt:Number |
Number |