PackageBox2DAS.Dynamics.Joints
Classpublic class b2GearJointDef
Inheritanceb2GearJointDef 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
 InheritedID : int
b2JointDef
 Inheritedinitialized : Boolean = false
[static]
b2Base
  _joint1 : b2Joint
b2GearJointDef
  joint1 : b2Joint
b2GearJointDef
  _joint2 : b2Joint
b2GearJointDef
  joint2 : b2Joint
b2GearJointDef
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
 Inheritedmem : MemUser
[static]
b2Base
 Inheritedname : String
b2JointDef
 Inherited_ptr : Number
b2Base
  ratio : Number
b2GearJointDef
 Inheritedtype : int
b2JointDef
 InheriteduserData : *
b2JointDef
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2GearJointDef
 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]
b2GearJointDef
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
  
Initialize(j1:b2Joint, j2:b2Joint, r:Number):void
b2GearJointDef
 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
_joint1property
public var _joint1:b2Joint

_joint2property 
public var _joint2:b2Joint

joint1property 
joint1:b2Joint


Implementation
    public function get joint1():b2Joint
    public function set joint1(value:b2Joint):void
joint2property 
joint2:b2Joint


Implementation
    public function get joint2():b2Joint
    public function set joint2(value:b2Joint):void
ratioproperty 
ratio:Number


Implementation
    public function get ratio():Number
    public function set ratio(value:Number):void
Constructor Detail
b2GearJointDef()Constructor
public function b2GearJointDef()



Method Detail
destroy()method
override public function destroy():void

Initialize()method 
public function Initialize(j1:b2Joint, j2:b2Joint, r:Number):void

Parameters

j1:b2Joint
 
j2:b2Joint
 
r:Number