Property | Type | Description | |
---|---|---|---|
Count | int | ||
Vertices | Microsoft.Xna.Framework.Vector2[] |
Method | Description | |
---|---|---|
Clone ( ) : |
||
ComputeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void |
Given a transform, compute the associated axis aligned bounding box for a child shape.
|
|
ComputeMass ( |
Chains have zero mass.
|
|
GetChildEdge ( |
Get a child edge.
|
|
LoopShape ( ) : System.Diagnostics | ||
RayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool |
Cast a ray against a child shape.
|
|
TestPoint ( Transform &transform, |
Test a point for containment in this shape. This only works for convex shapes.
|
public ComputeAABB ( AABB &aabb, Transform &transform, int childIndex ) : void | ||
aabb | AABB | The aabb results. |
transform | Transform | The world transform of the shape. |
childIndex | int | The child shape index. |
return | void |
public ComputeMass ( |
||
massData | Returns the mass data for this shape. | |
density | float | The density in kilograms per meter squared. |
return | void |
public GetChildEdge ( |
||
edge | The edge. | |
index | int | The index. |
return | void |
public RayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool | ||
output | RayCastOutput | The ray-cast results. |
input | RayCastInput | The ray-cast input parameters. |
transform | Transform | The transform to be applied to the shape. |
childIndex | int | The child shape index. |
return | bool |
public TestPoint ( Transform &transform, |
||
transform | Transform | The shape world transform. |
point | a point in world coordinates. | |
return | bool |