Package | Box2DAS.Dynamics.Joints |
Class | public class b2JointDef |
Inheritance | b2JointDef b2Base Object |
Subclasses | b2DistanceJointDef, b2FrictionJointDef, b2GearJointDef, b2LineJointDef, b2MouseJointDef, b2PrismaticJointDef, b2PulleyJointDef, b2RevoluteJointDef, b2WeldJointDef |
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 | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
mem : MemUser [static] | b2Base | ||
name : String | b2JointDef | ||
_ptr : Number | b2Base | ||
type : int | b2JointDef | ||
userData : * | b2JointDef | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2JointDef | |||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void
Destroy base function just sets _ptr = 0. | b2Base | ||
getArr():Array [static] | b2Base | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
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 |
_bodyA | property |
public var _bodyA:b2Body
_bodyB | property |
public var _bodyB:b2Body
actor1 | property |
public var actor1:int
actor2 | property |
public var actor2:int
anchor1 | property |
public var anchor1:String
anchor2 | property |
public var anchor2:String
bodyA | property |
bodyA:b2Body
public function get bodyA():b2Body
public function set bodyA(value:b2Body):void
bodyB | property |
bodyB:b2Body
public function get bodyB():b2Body
public function set bodyB(value:b2Body):void
CENTER | property |
public static var CENTER:String = center
collideConnected | property |
collideConnected:Boolean
public function get collideConnected():Boolean
public function set collideConnected(value:Boolean):void
ID | property |
public var ID:int
name | property |
public var name:String
type | property |
type:int
public function get type():int
public function set type(value:int):void
userData | property |
public var userData:*
create | () | method |
public function create(w:b2World, ed:IEventDispatcher = null):b2Joint
Parameters
w:b2World | |
ed:IEventDispatcher (default = null )
|
b2Joint |