PackageBox2DAS.Collision.Shapes
Classpublic class b2MassData
Inheritanceb2MassData Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedbytes : ByteArray
[static]
b2Base
  center : b2Vec2
b2MassData
  I : Number
b2MassData
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
  mass : Number
b2MassData
 Inheritedmem : MemUser
[static]
b2Base
 Inherited_ptr : Number
b2Base
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
Public Methods
 MethodDefined By
  
b2MassData(p:int = 0)
b2MassData
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
 Inherited
destroy():void
Destroy base function just sets _ptr = 0.
b2Base
 Inherited
getArr():Array
[static]
b2Base
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 Inherited
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
Property Detail
centerproperty
public var center:b2Vec2

Iproperty 
I:Number


Implementation
    public function get I():Number
    public function set I(value:Number):void
massproperty 
mass:Number


Implementation
    public function get mass():Number
    public function set mass(value:Number):void
Constructor Detail
b2MassData()Constructor
public function b2MassData(p:int = 0)



Parameters
p:int (default = 0)