Click or drag to resize
AB4D logo

MeshOctTree Methods

The MeshOctTree type exposes the following members.

Methods
 NameDescription
Public methodCollectBoundingBoxesInLevel CollectBoundingBoxesInLevel is a diagnostics method and returns a list of bounding boxes from child nodes.
Public methodGetAllHitResults 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.
Public methodGetNodesCountInAllLevels GetNodesCountInAllLevels is a diagnostics method and returns the number of child nodes (MeshOctTreeNode objects) in this MeshOctTree.
Public methodGetNodesCountInLevel GetNodesCountInLevel is a diagnostics method and returns the number of nodes (MeshOctTreeNode objects) in the specified node level.
Public methodGetNodeStatistics GetNodeStatistics is a diagnostics method and returns a string that describes the details about this MeshOctTree.
Public methodStatic memberGetTrianglesCountInLevel GetTrianglesCountInLevel is a diagnostics method and returns the number of triangles in the specified node and its child nodes.
Public methodHitTest 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.
Top
See Also