Click or drag to resize
AB4D logo

MeshOctTreeNodeHitTest Method

Hit test a ray against the triangles in this and child MeshOctTreeNodes and returns the closest hit result.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public DXRayHitTestResult HitTest(
	ref Ray ray,
	DXHitTestContext hitTestContext
)

Parameters

ray  Ray
Ray
hitTestContext  DXHitTestContext
DXHitTestContext

Return Value

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