| Package | Box2D.Collision |
| Class | public class b2DistanceProxy |
| Source | b2DistanceProxy.as |
| Property | Defined by | ||
|---|---|---|---|
| m_count : int | b2DistanceProxy | ||
| m_radius : Number | b2DistanceProxy | ||
| m_vertices : Vector | b2DistanceProxy | ||
| Method | Defined by | ||
|---|---|---|---|
|
GetSupport(d:b2Vec2):Number
Get the supporting vertex index in the given direction.
| b2DistanceProxy | ||
|
Get the supporting vertex in the given direction.
| b2DistanceProxy | ||
|
Get a vertex by index.
| b2DistanceProxy | ||
|
GetVertexCount():int
Get the vertex count.
| b2DistanceProxy | ||
|
Initialize the proxy using the given shape.
| b2DistanceProxy | ||
| m_count | property |
public var m_count:int
| m_radius | property |
public var m_radius:Number
| m_vertices | property |
public var m_vertices:Vector
| GetSupport | () | method |
public function GetSupport(d:b2Vec2):NumberGet the supporting vertex index in the given direction.
Parametersd:b2Vec2 |
Number |
| GetSupportVertex | () | method |
public function GetSupportVertex(d:b2Vec2):b2Vec2Get the supporting vertex in the given direction.
Parametersd:b2Vec2 |
b2Vec2 |
| GetVertex | () | method |
public function GetVertex(index:int):b2Vec2Get a vertex by index. Used by b2Distance.
Parametersindex:int |
b2Vec2 |
| GetVertexCount | () | method |
public function GetVertexCount():intGet the vertex count.
Returnsint |
| Set | () | method |
public function Set(shape:b2Shape):voidInitialize the proxy using the given shape. The shape must remain in scope while the proxy is in use.
Parametersshape:b2Shape |