![]() | |
Mesh |
The MeshOctree type exposes the following members.
Name | Description | |
---|---|---|
![]() | CollectBoundingBoxesInLevel | CollectBoundingBoxesInLevel is a diagnostics method and returns a list of bounding boxes from child nodes. |
![]() | DumpNodeStatistics | Writes string that describes the details about this MeshOctree to the console (when the application is debugged in Visual Studio the result is written to Output window or Immediate Window if started from there; in Rider the result is written to Debug Output window). |
![]() | GetAllHitResults | HitTest method executes a ray hit test on this octree and returns a list of RayHitTestResult 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. |
![]() | GetNodesCountInLevel | GetNodesCountInLevel is a diagnostics method and returns the number of nodes (MeshOctreeNode objects) in the specified node level. |
![]() | GetNodeStatistics | GetNodeStatistics is a diagnostics method and returns a string that describes the details about this MeshOctree. |
![]() | GetTrianglesCountInLevel | GetTrianglesCountInLevel is a diagnostics method and returns the number of triangles in the specified node level. |
![]() | HitTest | HitTest method executes a ray hit test on this octree and returns a RayHitTestResult with the closest triangle in this octree that is hit by the specified ray. If not triangle is hit, null is returned. To get all hit results call method. |