Click or drag to resize
AB4D logo

MeshOctTreeNodeGetAllHitResults Method

Hit test a ray against the triangles in this and child MeshOctTreeNodes and adds all hit result int the specified hitResults list.

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

Parameters

ray  Ray
Ray
hitTestContext  DXHitTestContext
DXHitTestContext
hitResults  ListDXRayHitTestResult
list of DXRayHitTestResult where the hit results are added

Return Value

DXRayHitTestResult when ray hits a triangle otherwise null is returned
See Also