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.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
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