Click or drag to resize
Ab4d.SharpEngine logo

IRayHitTestedObject Interface

IRayHitTestedObject interface can be implemented by a objects that supports hit testing.

Namespace: Ab4d.SharpEngine.Common
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public interface IRayHitTestedObject

The IRayHitTestedObject type exposes the following members.

Methods
 NameDescription
Public methodGetClosestHitResult GetClosestHitResult method returns a RayHitTestResult with the closest triangle hit by the specified ray. When no triangle is hit, null is returned.
Public methodGetNextHitResult 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.
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.Common.IRayHitTestedObject"]

See Also