Property | Type | Description | |
---|---|---|---|
HasVertex0 | bool | ||
Vertex0 | |||
Vertex1 | |||
Vertex3 |
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.
|
|
ComputeProperties ( ) : void |
Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin, not the centroid.
|
|
EdgeShape ( |
||
RayCast ( RayCastOutput &output, RayCastInput &input, Transform &transform, int childIndex ) : bool |
Cast a ray against a child shape.
|
|
Set ( |
Set this as an isolated edge.
|
|
TestPoint ( Transform &transform, |
Test a point for containment in this shape. This only works for convex shapes.
|
Method | Description | |
---|---|---|
EdgeShape ( ) : Microsoft.Xna.Framework |
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 EdgeShape ( |
||
start | ||
end | ||
return | Microsoft.Xna.Framework |
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 Set ( |
||
start | The start. | |
end | The end. | |
return | void |
public TestPoint ( Transform &transform, |
||
transform | Transform | The shape world transform. |
point | a point in world coordinates. | |
return | bool |
public Vector2,Microsoft.Xna.Framework Vertex0 | ||
return |
public Vector2,Microsoft.Xna.Framework Vertex1 | ||
return |