Click or drag to resize
Ab4d.SharpEngine logo

MeshOctreeHitTest Method

HitTest method executes a ray hit test on this octree and returns a RayHitTestResult with the closest triangle in this octree that is hit by the specified ray. If not triangle is hit, null is returned. To get all hit results call method.

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 in case of a hit or null of no triangle is hit
Remarks

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

See Also