Quantum 3
3.0.9
The data representation of all static triangles in the scene. More...
Classes | |
| struct | CellBounds |
| The bounds of a cell. More... | |
Public Member Functions | |
| delegate void | CellVisitor (int x, int y, int z, int *triangles, int count) |
| The delegate used to visit cells in the triangle mesh. More... | |
| FPVector3 | GetNodeCenter (int x, int y, int z) |
| Retrieve the center of a node at a given cell position. More... | |
| TriangleCCW * | GetTriangle (int triIndex) |
| Get the triangle at the specified index. More... | |
| void | Remove (FrameBase frame, TriangleReference triangle) |
| Obsolete method. Renamed to RemoveTriangle, use it instead. More... | |
| void | Remove (TriangleReference triangle) |
| Remove(FrameBase, Quantum.TriangleReference) This method is Obsolete. Use the overload that receives a FrameBase instance instead. More... | |
| void | RemoveMany (FrameBase frame, TriangleReference meshTriReference) |
Obsolete method. Renamed to RemoveMeshCollider, use it instead.
| |
| void | RemoveMany (TriangleReference triangle) |
This method is Obsolete. Use the overload that receives a FrameBase instance instead.
| |
| void | RemoveMeshCollider (FrameBase frame, TriangleReference meshTriReference) |
| Remove many triangles from the triangle mesh. More... | |
| void | RemoveTriangle (FrameBase frame, TriangleReference triangle) |
| Remove a singular triangle from the triangle mesh. More... | |
| void | ToCell (FPVector3 pos, out int x, out int y, out int z) |
| Convert a position to a cell. More... | |
| bool | TryGetTriangles (int x, int y, int z, out int *triangles, out int count) |
| Get all triangles at a given cell position. More... | |
| void | VisitCells (CellVisitor visitor) |
| Visits all cells in the triangle mesh using the supplied cell visitor. More... | |
Properties | |
| CellBounds | Bounds [get] |
| The bounds of the cells. More... | |
| FP | CellBroadRadius [get] |
| The broad radius of the cells in the triangle mesh. More... | |
| int | CellCapacity [get] |
| The capacity of the cells in the triangle mesh. More... | |
| int | CellCount [get] |
| Get the number of cells in the triangle mesh. More... | |
| FP | CellExtent [get] |
| The extent of the cells in the triangle mesh. More... | |
| FP | CellSize [get] |
| The size of the cells in the triangle mesh. More... | |
| int | FreeCellCount [get] |
| The number of free cells in the triangle mesh. More... | |
| int | FreeCellHead [get] |
| The first free cell in the triangle mesh. More... | |
| int | FreeTriangleCount [get] |
| The number of free triangles in the triangle mesh. More... | |
| int | FreeTriangleHead [get] |
| The first free triangle in the triangle mesh. More... | |
| int | ImmutableTriangleCount [get] |
| How many triangles are immutable (ie: not toggleable) in the triangle mesh. More... | |
| int | TriangleCapacity [get] |
| The capacity of the triangles in the triangle mesh. More... | |
| int | TriangleCount [get] |
| The number of triangles in the triangle mesh. More... | |
The data representation of all static triangles in the scene.
| delegate void Quantum.TriangleMesh.CellVisitor | ( | int | x, |
| int | y, | ||
| int | z, | ||
| int * | triangles, | ||
| int | count | ||
| ) |
The delegate used to visit cells in the triangle mesh.
|
inline |
Visits all cells in the triangle mesh using the supplied cell visitor.
| visitor | The visitor delegate to use. |
|
inline |
Retrieve the center of a node at a given cell position.
| x | |
| y | |
| z |
|
inline |
Get the triangle at the specified index.
| triIndex |
|
inline |
Convert a position to a cell.
| pos | |
| x | |
| y | |
| z |
|
inline |
Get all triangles at a given cell position.
| x | |
| y | |
| z | |
| triangles | |
| count |
false if no triangles exist, true if triangles are found
|
inline |
This method is Obsolete. Use the overload that receives a FrameBase instance instead.
| triangle | The triangle reference to remove. |
|
inline |
Obsolete method. Renamed to RemoveMeshCollider, use it instead.
| frame | The frame. |
| meshTriReference | The triangle reference to remove. |
|
inline |
Remove many triangles from the triangle mesh.
| frame | The frame. |
| meshTriReference | The triangle reference to remove. |
|
inline |
Remove(FrameBase, Quantum.TriangleReference) This method is Obsolete. Use the overload that receives a FrameBase instance instead.
| triangle | The triangle reference to remove. |
|
inline |
Obsolete method. Renamed to RemoveTriangle, use it instead.
| frame | The frame. |
| triangle | The triangle reference to remove. |
|
inline |
Remove a singular triangle from the triangle mesh.
| frame | The frame. |
| triangle | The triangle reference to remove. |
|
get |
Get the number of cells in the triangle mesh.
|
get |
The capacity of the cells in the triangle mesh.
|
get |
The number of free cells in the triangle mesh.
|
get |
The first free cell in the triangle mesh.
|
get |
The size of the cells in the triangle mesh.
|
get |
The extent of the cells in the triangle mesh.
|
get |
The broad radius of the cells in the triangle mesh.
|
get |
The bounds of the cells.
|
get |
The number of triangles in the triangle mesh.
|
get |
The capacity of the triangles in the triangle mesh.
|
get |
The number of free triangles in the triangle mesh.
|
get |
The first free triangle in the triangle mesh.
|
get |
How many triangles are immutable (ie: not toggleable) in the triangle mesh.