Property | Defined By | ||
---|---|---|---|
active : Boolean | b2BodyDef | ||
allowSleep : Boolean | b2BodyDef | ||
angle : Number | b2BodyDef | ||
angularDamping : Number | b2BodyDef | ||
angularVelocity : Number | b2BodyDef | ||
awake : Boolean | b2BodyDef | ||
bounciness : Number | b2BodyDef | ||
bullet : Boolean | b2BodyDef | ||
bytes : ByteArray [static] | b2Base | ||
fixedRotation : Boolean | b2BodyDef | ||
friction : Number | b2BodyDef | ||
groupID : int | b2BodyDef | ||
ignoreGravity : Boolean | b2BodyDef | ||
inertiaScale : Number | b2BodyDef | ||
initialized : Boolean = false [static] | b2Base | ||
lib : Object [static] | b2Base | ||
linearDamping : Number | b2BodyDef | ||
linearVelocity : b2Vec2 | b2BodyDef | ||
loader : CLibInit [static] | b2Base | ||
mass : Number | b2BodyDef | ||
mem : MemUser [static] | b2Base | ||
position : b2Vec2 | b2BodyDef | ||
_ptr : Number | b2Base | ||
type : int | b2BodyDef | ||
userData : * | b2BodyDef | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2BodyDef | |||
b2BodyDef | |||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void [override] | b2BodyDef | ||
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 |
active | property |
active:Boolean
public function get active():Boolean
public function set active(value:Boolean):void
allowSleep | property |
allowSleep:Boolean
public function get allowSleep():Boolean
public function set allowSleep(value:Boolean):void
angle | property |
angle:Number
public function get angle():Number
public function set angle(value:Number):void
angularDamping | property |
angularDamping:Number
public function get angularDamping():Number
public function set angularDamping(value:Number):void
angularVelocity | property |
angularVelocity:Number
public function get angularVelocity():Number
public function set angularVelocity(value:Number):void
awake | property |
awake:Boolean
public function get awake():Boolean
public function set awake(value:Boolean):void
bounciness | property |
public var bounciness:Number
bullet | property |
bullet:Boolean
public function get bullet():Boolean
public function set bullet(value:Boolean):void
fixedRotation | property |
fixedRotation:Boolean
public function get fixedRotation():Boolean
public function set fixedRotation(value:Boolean):void
friction | property |
public var friction:Number
groupID | property |
groupID:int
public function get groupID():int
public function set groupID(value:int):void
ignoreGravity | property |
ignoreGravity:Boolean
public function get ignoreGravity():Boolean
public function set ignoreGravity(value:Boolean):void
inertiaScale | property |
inertiaScale:Number
public function get inertiaScale():Number
public function set inertiaScale(value:Number):void
linearDamping | property |
linearDamping:Number
public function get linearDamping():Number
public function set linearDamping(value:Number):void
linearVelocity | property |
public var linearVelocity:b2Vec2
mass | property |
public var mass:Number
position | property |
public var position:b2Vec2
type | property |
type:int
public function get type():int
public function set type(value:int):void
userData | property |
public var userData:*
b2BodyDef | () | Constructor |
public function b2BodyDef()
create | () | method |
destroy | () | method |
override public function destroy():void