 |
IRayHitTestedObjectGetNextHitResult Method |
GetNextHitResult method continues hit testing from the previously returned hit test and returns a
RayHitTestResult
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: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
SyntaxRayHitTestResult? GetNextHitResult(
ref Ray? localRay,
HitTestContext hitTestContext,
RayHitTestResult? previousHitResult
)
Parameters
- localRay Ray
- Ray in local SceneNode coordinate system
- hitTestContext HitTestContext
- HitTestContext
- previousHitResult RayHitTestResult
- RayHitTestResult as result of the previous call to GetNextHitResult method or null if this is the first time this method is called
Return Value
RayHitTestResultRayHitTestResult with the next triangle hit or null when no triangle is hit
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.IRayHitTestedObject.GetNextHitResult(Ab4d.SharpEngine.Common.Ray@,Ab4d.SharpEngine.Common.HitTestContext,Ab4d.SharpEngine.Common.RayHitTestResult)"]
See Also