Package | Box2DAS.Collision.Shapes |
Class | public class b2CircleShape |
Inheritance | b2CircleShape b2Shape b2Base Object |
Property | Defined By | ||
---|---|---|---|
bytes : ByteArray [static] | b2Base | ||
initialized : Boolean = false [static] | b2Base | ||
lib : Object [static] | b2Base | ||
loader : CLibInit [static] | b2Base | ||
m_area : Number | b2Shape | ||
mem : MemUser [static] | b2Base | ||
m_p : b2Vec2 | b2CircleShape | ||
m_radius : Number | b2Shape | ||
m_type : int | b2Shape | ||
_ptr : Number | b2Base | ||
valid : Boolean [read-only]
Does the object point to a C++ equivalent (i.e. | b2Base |
Method | Defined By | ||
---|---|---|---|
b2CircleShape(p:int = 0) | b2CircleShape | ||
[override] | b2CircleShape | ||
ComputeMass(massData:b2MassData, density:Number):void [override] | b2CircleShape | ||
[override] | b2CircleShape | ||
b2Shape | |||
deref(adr:int):* [static]
dereference a C++ pointer or AS3_Val that is pointing to an AS3 object. | b2Base | ||
destroy():void [override] | b2CircleShape | ||
[override] | b2CircleShape | ||
getArr():Array [static] | b2Base | ||
GetType():int | b2Shape | ||
initialize(defs:Boolean = true):void [static]
Initialize the C++ module. | b2Base | ||
[override] | b2CircleShape | ||
readVertices(adr:int, num:int):Vector.<V2>
Read C++ memory and convert it into a vertex array. | b2Base | ||
[override] | b2CircleShape | ||
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 |
m_p | property |
public var m_p:b2Vec2
b2CircleShape | () | Constructor |
public function b2CircleShape(p:int = 0)
p:int (default = 0 )
|
ComputeAABB | () | method |
ComputeMass | () | method |
override public function ComputeMass(massData:b2MassData, density:Number):void
Parameters
massData:b2MassData | |
density:Number |
ComputeSubmergedArea | () | method |
override public function ComputeSubmergedArea(normal:V2, offset:Number, xf:XF, c:V2):Number
Parameters
normal:V2 | |
offset:Number | |
xf:XF | |
c:V2 |
Number |
destroy | () | method |
override public function destroy():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 )
|
RayCast | () | method |
override public function RayCast(output:*, input:*, transform:XF):Boolean
Parameters
output:* | |
input:* | |
transform:XF |
Boolean |
TestPoint | () | method |
override public function TestPoint(transform:XF, p:V2):Boolean
Parameters
transform:XF | |
p:V2 |
Boolean |