Package | Box2DAS.Dynamics.Joints |
Class | public class b2DistanceJointDef |
Inheritance | b2DistanceJointDef 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 | ||
dampingRatio : Number | b2DistanceJointDef | ||
frequencyHz : Number | b2DistanceJointDef | ||
ID : int | b2JointDef | ||
initialized : Boolean = false [static] | b2Base | ||
length : Number | b2DistanceJointDef | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
localAnchorA : b2Vec2 | b2DistanceJointDef | ||
localAnchorB : b2Vec2 | b2DistanceJointDef | ||
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 | ||
---|---|---|---|
b2DistanceJointDef | |||
b2JointDef | |||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void [override] | b2DistanceJointDef | ||
getArr():Array [static] | b2Base | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
b2DistanceJointDef | |||
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 |
dampingRatio | property |
dampingRatio:Number
public function get dampingRatio():Number
public function set dampingRatio(value:Number):void
frequencyHz | property |
frequencyHz:Number
public function get frequencyHz():Number
public function set frequencyHz(value:Number):void
length | property |
length:Number
public function get length():Number
public function set length(value:Number):void
localAnchorA | property |
public var localAnchorA:b2Vec2
localAnchorB | property |
public var localAnchorB:b2Vec2
b2DistanceJointDef | () | Constructor |
public function b2DistanceJointDef()
destroy | () | method |
override public function destroy():void
Initialize | () | method |
public function Initialize(b1:b2Body, b2:b2Body, anchorA:V2, anchorB:V2):void
Parameters
b1:b2Body | |
b2:b2Body | |
anchorA:V2 | |
anchorB:V2 |