Click or drag to resize
AB4D logo

MeshOctTreeGetAllHitResults Method

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.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public List<DXRayHitTestResult> GetAllHitResults(
	ref Ray ray,
	DXHitTestContext hitTestContext
)

Parameters

ray  Ray
ray
hitTestContext  DXHitTestContext
DXHitTestContext

Return Value

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