Package | Box2DAS.Dynamics.Joints |
Class | public class b2GearJointDef |
Inheritance | b2GearJointDef b2JointDef b2Base Object |
Property | Defined By | ||
---|---|---|---|
actor1 : int | b2JointDef | ||
actor2 : int | b2JointDef | ||
anchor1 : String | b2JointDef | ||
anchor2 : String | b2JointDef | ||
_bodyA : b2Body | b2JointDef | ||
bodyA : b2Body | b2JointDef | ||
_bodyB : b2Body | b2JointDef | ||
bodyB : b2Body | b2JointDef | ||
bytes : ByteArray [static] | b2Base | ||
CENTER : String = center [static] | b2JointDef | ||
collideConnected : Boolean | b2JointDef | ||
ID : int | b2JointDef | ||
initialized : Boolean = false [static] | b2Base | ||
_joint1 : b2Joint | b2GearJointDef | ||
joint1 : b2Joint | b2GearJointDef | ||
_joint2 : b2Joint | b2GearJointDef | ||
joint2 : b2Joint | b2GearJointDef | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
mem : MemUser [static] | b2Base | ||
name : String | b2JointDef | ||
_ptr : Number | b2Base | ||
ratio : Number | b2GearJointDef | ||
type : int | b2JointDef | ||
userData : * | b2JointDef | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2GearJointDef | |||
b2JointDef | |||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void [override] | b2GearJointDef | ||
getArr():Array [static] | b2Base | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
b2GearJointDef | |||
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array. | b2Base | ||
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 |
_joint1 | property |
public var _joint1:b2Joint
_joint2 | property |
public var _joint2:b2Joint
joint1 | property |
joint1:b2Joint
public function get joint1():b2Joint
public function set joint1(value:b2Joint):void
joint2 | property |
joint2:b2Joint
public function get joint2():b2Joint
public function set joint2(value:b2Joint):void
ratio | property |
ratio:Number
public function get ratio():Number
public function set ratio(value:Number):void
b2GearJointDef | () | Constructor |
public function b2GearJointDef()
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 |