Click or drag to resize
Ab4d.SharpEngine logo

MeshOctreeNodeHitTest Method

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

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public RayHitTestResult? HitTest(
	ref Ray ray,
	HitTestContext hitTestContext
)

Parameters

ray  Ray
Ray
hitTestContext  HitTestContext
HitTestContext

Return Value

RayHitTestResult
RayHitTestResult when ray hits a triangle otherwise null is returned
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.MeshOctreeNode.HitTest(Ab4d.SharpEngine.Common.Ray@,Ab4d.SharpEngine.Common.HitTestContext)"]

See Also