Click or drag to resize
Ab4d.SharpEngine logo

MeshOctreeGetAllHitResults Method

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.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public List<RayHitTestResult> GetAllHitResults(
	ref Ray ray,
	HitTestContext hitTestContext
)

Parameters

ray  Ray
ray
hitTestContext  HitTestContext
HitTestContext

Return Value

ListRayHitTestResult
a list of hit RayHitTestResult with all the hit results sorted from the closest to the farthest. Empty list is returned in case no triangle is hit.
See Also