Click or drag to resize
AB4D logo

HitTesterAddAllMeshHitResults Method

Adds all hit returns to the specified list of DXRayHitTestResult objects. Added hit results are sorted from the closest to the farthest hit test.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public static void AddAllMeshHitResults(
	ref Ray localRay,
	DXHitTestContext hitTestContext,
	MeshBase mesh,
	List<DXRayHitTestResult> allHitResults
)

Parameters

localRay  Ray
SharpDX.Ray in local SceneNode coordinate system
hitTestContext  DXHitTestContext
DXHitTestContext
mesh  MeshBase
MeshBase
allHitResults  ListDXRayHitTestResult
list of DXRayHitTestResult objects where hit results will be added
See Also