Mesh |
The MeshOctTreeNode type exposes the following members.
Name | Description | |
---|---|---|
ActualBoundingBox | Bounding box created from actually containing positions | |
ChildNodes | List of child MeshOctTreeNode objects. The number of child MeshOctTreeNode objects can be lower then 8 when Optimize(Boolean, Boolean) method is called to remove empty MeshOctTreeNode objects. | |
HasChildTriangles | Boolean value that specifies if this MeshOctTree has any child triangles (set to true the first time the AddTriangle(Int32, BoundingBox) method is called). | |
NodeBoundingBox | BoundingBox of this node (calculated as 1/8 part of its parent) | |
NodeLevel | level of this node (level 1 is the first level) | |
ParentMashOctTree | Parent MeshOctTree | |
TriangleIndexes | List of triangle indexes that are contained in this MeshOctTreeNode. To get the index of triangle indice in the TriangleIndicesArray, multiplying the values from this list with 3. |