|
DXMultiMeshGeometry3DGetNextHitResult Method |
GetNextHitResult method continues hit testing from the previously returned hit test and returns a
DXRayHitTestResult
with the next hit triangle (not necessary the next closest triangle) or null if no other triangle is hit.
This method can be used to get all hit results.
Namespace: Ab3d.DirectX.ModelsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax public DXRayHitTestResult GetNextHitResult(
ref Ray localRay,
DXHitTestContext hitTestContext,
DXRayHitTestResult previousHitResult
)
Parameters
- localRay Ray
- SharpDX.Ray in local SceneNode coordinate system
- hitTestContext DXHitTestContext
- DXHitTestContext
- previousHitResult DXRayHitTestResult
- DXRayHitTestResult as result of the previous call to GetNextHitResult method or null if this is the first time this method is called
Return Value
DXRayHitTestResultDXRayHitTestResult with the next triangle hit or null when no triangle is hit
See Also