| Package | Box2DAS.Collision.Shapes |
| Class | public class b2LoopShape |
| Inheritance | b2LoopShape b2Shape b2Base Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | bytes : ByteArray [static] | b2Base | |
| height : Number | b2LoopShape | ||
![]() | initialized : Boolean = false [static] | b2Base | |
![]() | lib : Object [static] | b2Base | |
![]() | loader : CLibInit [static] | b2Base | |
![]() | m_area : Number | b2Shape | |
| m_count : int | b2LoopShape | ||
![]() | mem : MemUser [static] | b2Base | |
![]() | m_radius : Number | b2Shape | |
![]() | m_type : int | b2Shape | |
| m_vertices : Vector.<V2> | b2LoopShape | ||
| m_verticesPtr : int | b2LoopShape | ||
| m_verticesSet : Boolean = false | b2LoopShape | ||
![]() | _ptr : Number | b2Base | |
![]() | valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base | |
| width : Number | b2LoopShape | ||
| Method | Defined By | ||
|---|---|---|---|
b2LoopShape(p:int = 0) | b2LoopShape | ||
![]() | b2Shape | ||
![]() | ComputeMass(massData:b2MassData, density:Number):void | b2Shape | |
![]() | b2Shape | ||
![]() | b2Shape | ||
![]() | deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | |
destroy():void [override] | b2LoopShape | ||
destroyVertices():void | b2LoopShape | ||
[override] | b2LoopShape | ||
![]() | getArr():Array [static] | b2Base | |
![]() | GetType():int | b2Shape | |
![]() | initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | |
![]() | b2Shape | ||
![]() | readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array. | b2Base | |
![]() | b2Shape | ||
![]() | 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 | |
| height | property |
public var height:Number| m_count | property |
m_count:int public function get m_count():int public function set m_count(value:int):void| m_vertices | property |
m_vertices:Vector.<V2> public function get m_vertices():Vector.<V2> public function set m_vertices(value:Vector.<V2>):void| m_verticesPtr | property |
m_verticesPtr:int public function get m_verticesPtr():int public function set m_verticesPtr(value:int):void| m_verticesSet | property |
public var m_verticesSet:Boolean = false| width | property |
public var width:Number| b2LoopShape | () | Constructor |
public function b2LoopShape(p:int = 0)p:int (default = 0) |
| destroy | () | method |
override public function destroy():void| destroyVertices | () | method |
public function destroyVertices():void| Draw | () | method |
override public function Draw(g:Graphics, xf:XF, scale:Number = 1, options:Object = null):voidParameters
g:Graphics | |
xf:XF | |
scale:Number (default = 1) | |
options:Object (default = null) |