Property | Defined By | ||
---|---|---|---|
bytes : ByteArray [static] | b2Base | ||
center : b2Vec2 | b2MassData | ||
I : Number | b2MassData | ||
initialized : Boolean = false [static] | b2Base | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
mass : Number | b2MassData | ||
mem : MemUser [static] | b2Base | ||
_ptr : Number | b2Base | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2MassData(p:int = 0) | b2MassData | ||
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 |
center | property |
public var center:b2Vec2
I | property |
I:Number
public function get I():Number
public function set I(value:Number):void
mass | property |
mass:Number
public function get mass():Number
public function set mass(value:Number):void
b2MassData | () | Constructor |
public function b2MassData(p:int = 0)
p:int (default = 0 )
|