 |
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.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntaxpublic 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