PackageBox2DAS.Collision.Shapes
Classpublic class b2LoopShape
Inheritanceb2LoopShape Inheritance b2Shape Inheritance b2Base Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedbytes : ByteArray
[static]
b2Base
  height : Number
b2LoopShape
 Inheritedinitialized : Boolean = false
[static]
b2Base
 Inheritedlib : Object
[static]
b2Base
 Inheritedloader : CLibInit
[static]
b2Base
 Inheritedm_area : Number
b2Shape
  m_count : int
b2LoopShape
 Inheritedmem : MemUser
[static]
b2Base
 Inheritedm_radius : Number
b2Shape
 Inheritedm_type : int
b2Shape
  m_vertices : Vector.<V2>
b2LoopShape
  m_verticesPtr : int
b2LoopShape
  m_verticesSet : Boolean = false
b2LoopShape
 Inherited_ptr : Number
b2Base
 Inheritedvalid : Boolean
[read-only] Does the object point to a C++ equivalent (i.e.
b2Base
  width : Number
b2LoopShape
Public Methods
 MethodDefined By
  
b2LoopShape(p:int = 0)
b2LoopShape
 Inherited
ComputeAABB(aabb:AABB, xf:XF):void
b2Shape
 Inherited
ComputeMass(massData:b2MassData, density:Number):void
b2Shape
 Inherited
ComputeSubmergedArea(normal:V2, offset:Number, xf:XF, c:V2):Number
b2Shape
 Inherited
b2Shape
 Inherited
deref(adr:int):*
[static] dereference a C++ pointer or AS3_Val that is pointing to an AS3 object.
b2Base
  
destroy():void
[override]
b2LoopShape
  
b2LoopShape
  
Draw(g:Graphics, xf:XF, scale:Number = 1, options:Object = null):void
[override]
b2LoopShape
 Inherited
getArr():Array
[static]
b2Base
 Inherited
GetType():int
b2Shape
 Inherited
initialize(defs:Boolean = true):void
[static] Initialize the C++ module.
b2Base
 Inherited
RayCast(output:*, input:*, transform:XF):Boolean
b2Shape
 Inherited
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array.
b2Base
 Inherited
TestPoint(xf:XF, p:V2):Boolean
b2Shape
 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
Public Constants
 ConstantDefined By
 Inheritede_circle : int = 0
[static]
b2Shape
 Inheritede_polygon : int = 1
[static]
b2Shape
 Inheritede_typeCount : int = 2
[static]
b2Shape
 Inheritede_unknown : int = -1
[static]
b2Shape
Property Detail
heightproperty
public var height:Number

m_countproperty 
m_count:int


Implementation
    public function get m_count():int
    public function set m_count(value:int):void
m_verticesproperty 
m_vertices:Vector.<V2>


Implementation
    public function get m_vertices():Vector.<V2>
    public function set m_vertices(value:Vector.<V2>):void
m_verticesPtrproperty 
m_verticesPtr:int


Implementation
    public function get m_verticesPtr():int
    public function set m_verticesPtr(value:int):void
m_verticesSetproperty 
public var m_verticesSet:Boolean = false

widthproperty 
public var width:Number

Constructor Detail
b2LoopShape()Constructor
public function b2LoopShape(p:int = 0)



Parameters
p:int (default = 0)
Method Detail
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):void

Parameters

g:Graphics
 
xf:XF
 
scale:Number (default = 1)
 
options:Object (default = null)