 |
IRayHitTestedObjectGetClosestHitResult Method |
GetClosestHitResult method returns a
RayHitTestResult with the closest triangle hit by the specified ray.
When no triangle is hit, null is returned.
Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
SyntaxRayHitTestResult? GetClosestHitResult(
ref Ray localRay,
HitTestContext hitTestContext
)
Parameters
- localRay Ray
- Ray in local SceneNode coordinate system
- hitTestContext HitTestContext
- HitTestContext
Return Value
RayHitTestResultRayHitTestResult with the closest triangle hit or null when no triangle is hit
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Common.IRayHitTestedObject.GetClosestHitResult(Ab4d.SharpEngine.Common.Ray@,Ab4d.SharpEngine.Common.HitTestContext)"]
See Also