Method | Defined by | ||
---|---|---|---|
b2CircleShape(def:b2ShapeDef)
| b2CircleShape | ||
| b2CircleShape | ||
ComputeMass(massData:b2MassData):void
| b2CircleShape | ||
| b2CircleShape | ||
![]() |
[static]
| b2Shape | |
![]() | b2Shape | ||
![]() |
[static]
| b2Shape | |
![]() |
DestroyProxy(broadPhase:b2BroadPhase):void
| b2Shape | |
![]() |
Get the parent body of this shape.
| b2Shape | |
![]() |
Get the contact filtering data.
| b2Shape | |
![]() |
GetFriction():Number
Get the coefficient of friction.
| b2Shape | |
Get the local position of this circle in its parent body.
| b2CircleShape | ||
![]() |
Get the next shape in the parent body's shape list.
| b2Shape | |
GetRadius():Number
Get the radius of this circle.
| b2CircleShape | ||
![]() |
GetRestitution():Number
Get the coefficient of restitution.
| b2Shape | |
![]() |
GetSweepRadius():Number
Get the maximum radius about the parent body's center of mass.
| b2Shape | |
![]() |
GetType():int
Get the type of this shape.
| b2Shape | |
![]() |
GetUserData():*
Get the user data that was assigned in the shape definition.
| b2Shape | |
![]() |
IsSensor():Boolean
Is this shape a sensor (non-solid)?
| b2Shape | |
![]() | b2Shape | ||
![]() |
SetFilterData(filter:b2FilterData):void
Set the contact filtering data.
| b2Shape | |
![]() |
SetUserData(data:*):void
Set the user data.
| b2Shape | |
![]() | b2Shape | ||
| b2CircleShape | ||
TestSegment(transform:b2XForm, lambda:Array, normal:b2Vec2, segment:b2Segment, maxLambda:Number):Boolean
| b2CircleShape | ||
UpdateSweepRadius(center:b2Vec2):void
| b2CircleShape |
m_localPosition | property |
b2internal var m_localPosition:b2Vec2
m_radius | property |
b2internal var m_radius:Number
b2CircleShape | () | constructor |
ComputeAABB | () | method |
public override function ComputeAABB(aabb:b2AABB, transform:b2XForm):void
Parameters
aabb:b2AABB |
|
transform:b2XForm |
See also
ComputeMass | () | method |
public override function ComputeMass(massData:b2MassData):void
Parameters
massData:b2MassData |
See also
ComputeSweptAABB | () | method |
public override function ComputeSweptAABB(aabb:b2AABB, transform1:b2XForm, transform2:b2XForm):void
Parameters
aabb:b2AABB |
|
transform1:b2XForm |
|
transform2:b2XForm |
See also
GetLocalPosition | () | method |
public function GetLocalPosition():b2Vec2
Get the local position of this circle in its parent body.
Returnsb2Vec2 |
GetRadius | () | method |
public function GetRadius():Number
Get the radius of this circle.
ReturnsNumber |
TestPoint | () | method |
public override function TestPoint(transform:b2XForm, p:b2Vec2):Boolean
Parameters
transform:b2XForm |
|
p:b2Vec2 |
Boolean |
See also
TestSegment | () | method |
public override function TestSegment(transform:b2XForm, lambda:Array, normal:b2Vec2, segment:b2Segment, maxLambda:Number):Boolean
Parameters
transform:b2XForm |
|
lambda:Array |
|
normal:b2Vec2 |
|
segment:b2Segment |
|
maxLambda:Number |
Boolean |
See also
UpdateSweepRadius | () | method |