Mesh |
The MeshOctTree type exposes the following members.
Name | Description | |
---|---|---|
CollectBoundingBoxesInLevel | CollectBoundingBoxesInLevel is a diagnostics method and returns a list of bounding boxes from child nodes. | |
GetAllHitResults | HitTest method executes a ray hit test on this oct tree and returns a list of DXRayHitTestResult with all the hit results sorted from the closest to the farthest. If no triangle is hit, an empty list is returned. To get only the closest hit results call method. | |
GetNodesCountInAllLevels | GetNodesCountInAllLevels is a diagnostics method and returns the number of child nodes (MeshOctTreeNode objects) in this MeshOctTree. | |
GetNodesCountInLevel | GetNodesCountInLevel is a diagnostics method and returns the number of nodes (MeshOctTreeNode objects) in the specified node level. | |
GetNodeStatistics | GetNodeStatistics is a diagnostics method and returns a string that describes the details about this MeshOctTree. | |
GetTrianglesCountInLevel | GetTrianglesCountInLevel is a diagnostics method and returns the number of triangles in the specified node and its child nodes. | |
HitTest | HitTest method executes a ray hit test on this oct tree and returns a DXRayHitTestResult with the closest triangle in this oct tree that is hit by the specified ray. If not triangle is hit, null is returned. To get all hit results call method. |