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