Method | Description | |
---|---|---|
GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void |
Gets the bounding box of an element in the data.
|
|
GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void |
Gets the triangle vertex positions at a given index.
|
|
GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void |
Gets the position of a vertex in the data.
|
public GetBoundingBox ( int triangleIndex, Microsoft.Xna.Framework.BoundingBox &boundingBox ) : void | ||
triangleIndex | int | Index of the triangle in the data. |
boundingBox | Microsoft.Xna.Framework.BoundingBox | Bounding box of the triangle. |
return | void |
public abstract GetTriangle ( int triangleIndex, Microsoft.Xna.Framework.Vector3 &v1, Microsoft.Xna.Framework.Vector3 &v2, Microsoft.Xna.Framework.Vector3 &v3 ) : void | ||
triangleIndex | int | First index of a triangle's vertices in the index buffer. |
v1 | Microsoft.Xna.Framework.Vector3 | First vertex of the triangle. |
v2 | Microsoft.Xna.Framework.Vector3 | Second vertex of the triangle. |
v3 | Microsoft.Xna.Framework.Vector3 | Third vertex of the triangle. |
return | void |
public abstract GetVertexPosition ( int i, Microsoft.Xna.Framework.Vector3 &vertex ) : void | ||
i | int | Index of the vertex. |
vertex | Microsoft.Xna.Framework.Vector3 | Position of the vertex. |
return | void |