| Property | Defined by | ||
|---|---|---|---|
| m_body : b2Body | b2Shape | ||
| m_categoryBits : uint | b2Shape | ||
| m_friction : Number | b2Shape | ||
| m_groupIndex : int | b2Shape | ||
| m_maskBits : uint | b2Shape | ||
| m_maxRadius : Number | b2Shape | ||
| m_next : b2Shape | b2Shape | ||
| m_position : b2Vec2 | b2Shape | ||
| m_proxyId : uint | b2Shape | ||
| m_R : b2Mat22 | b2Shape | ||
| m_restitution : Number | b2Shape | ||
| m_type : int | b2Shape | ||
| m_userData : * = null | b2Shape | ||
| Method | Defined by | ||
|---|---|---|---|
| b2Shape | |||
|
[static]
| b2Shape | ||
|
[static]
| b2Shape | ||
|
DestroyProxy():void
| b2Shape | ||
| b2Shape | |||
|
GetMaxRadius():Number
| b2Shape | ||
| b2Shape | |||
| b2Shape | |||
| b2Shape | |||
|
GetType():int
| b2Shape | ||
|
GetUserData():*
| b2Shape | ||
|
PolyCentroid(vs:Array, count:int, out:b2Vec2):void
[static]
| b2Shape | ||
|
PolyMass(massData:b2MassData, vs:Array, count:int, rho:Number):void
[static]
| b2Shape | ||
| b2Shape | |||
|
ResetProxy(broadPhase:b2BroadPhase):void
| b2Shape | ||
| b2Shape | |||
| b2Shape | |||
| b2Shape | |||
| Constant | Defined by | ||
|---|---|---|---|
| e_boxShape : int = 1 [static]
| b2Shape | ||
| e_circleShape : int = 0 [static]
| b2Shape | ||
| e_meshShape : int = 3 [static]
| b2Shape | ||
| e_polyShape : int = 2 [static]
| b2Shape | ||
| e_shapeTypeCount : int = 4 [static]
| b2Shape | ||
| e_unknownShape : int = -1 [static]
| b2Shape | ||
| m_body | property |
public var m_body:b2Body
| m_categoryBits | property |
public var m_categoryBits:uint
| m_friction | property |
public var m_friction:Number
| m_groupIndex | property |
public var m_groupIndex:int
| m_maskBits | property |
public var m_maskBits:uint
| m_maxRadius | property |
public var m_maxRadius:Number
| m_next | property |
public var m_next:b2Shape
| m_position | property |
public var m_position:b2Vec2
| m_proxyId | property |
public var m_proxyId:uint
| m_R | property |
public var m_R:b2Mat22
| m_restitution | property |
public var m_restitution:Number
| m_type | property |
public var m_type:int
| m_userData | property |
public var m_userData:* = null
| b2Shape | () | constructor |
| Create | () | method |
public static function Create(def:b2ShapeDef, body:b2Body, center:b2Vec2):b2ShapeParameters
def:b2ShapeDef |
|
body:b2Body |
|
center:b2Vec2 |
b2Shape |
| Destroy | () | method |
| DestroyProxy | () | method |
public function DestroyProxy():void
| GetBody | () | method |
| GetMaxRadius | () | method |
public function GetMaxRadius():Number
Returns
Number |
| GetNext | () | method |
| GetPosition | () | method |
| GetRotationMatrix | () | method |
| GetType | () | method |
public function GetType():int
Returns
int |
| GetUserData | () | method |
public function GetUserData():*
Returns
* |
| PolyCentroid | () | method |
public static function PolyCentroid(vs:Array, count:int, out:b2Vec2):voidParameters
vs:Array |
|
count:int |
|
out:b2Vec2 |
| PolyMass | () | method |
public static function PolyMass(massData:b2MassData, vs:Array, count:int, rho:Number):voidParameters
massData:b2MassData |
|
vs:Array |
|
count:int |
|
rho:Number |
| QuickSync | () | method |
| ResetProxy | () | method |
| Support | () | method |
public function Support(dX:Number, dY:Number, out:b2Vec2):voidParameters
dX:Number |
|
dY:Number |
|
out:b2Vec2 |
| Synchronize | () | method |
public function Synchronize(position1:b2Vec2, R1:b2Mat22, position2:b2Vec2, R2:b2Mat22):voidParameters
position1:b2Vec2 |
|
R1:b2Mat22 |
|
position2:b2Vec2 |
|
R2:b2Mat22 |
| TestPoint | () | method |
| e_boxShape | constant |
public static const e_boxShape:int = 1
| e_circleShape | constant |
public static const e_circleShape:int = 0
| e_meshShape | constant |
public static const e_meshShape:int = 3
| e_polyShape | constant |
public static const e_polyShape:int = 2
| e_shapeTypeCount | constant |
public static const e_shapeTypeCount:int = 4
| e_unknownShape | constant |
public static const e_unknownShape:int = -1