A tree of bounding volumes.
More...
|
struct | Node |
| The data stored in a bounding volume node. More...
|
|
|
| BVTree (PolyVertex[] verts, PolyMesh.Polygon[] polys, int nvp, float cellSize, float cellHeight) |
| Initializes a new instance of the BVTree class. More...
|
|
A tree of bounding volumes.
Definition at line 20 of file BVTree.cs.
◆ BVTree()
SharpNav.Collections.BVTree.BVTree |
( |
PolyVertex[] |
verts, |
|
|
PolyMesh.Polygon[] |
polys, |
|
|
int |
nvp, |
|
|
float |
cellSize, |
|
|
float |
cellHeight |
|
) |
| |
Initializes a new instance of the BVTree class.
- Parameters
-
verts | A set of vertices. |
polys | A set of polygons composed of the vertices in verts . |
nvp | The maximum number of vertices per polygon. |
cellSize | The size of a cell. |
cellHeight | The height of a cell. |
Definition at line 39 of file BVTree.cs.
◆ Count
int SharpNav.Collections.BVTree.Count |
|
get |
Gets the number of nodes in the tree.
Definition at line 75 of file BVTree.cs.
◆ this[int index]
Node SharpNav.Collections.BVTree.this[int index] |
|
get |
Gets the node at a specified index.
- Parameters
-
- Returns
- The node at the index.
Definition at line 88 of file BVTree.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/ThirdParty/SharpNav/Collections/BVTree.cs