Click or drag to resize
AB4D logo

IRayHitTestedObject Interface

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

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public interface IRayHitTestedObject

The IRayHitTestedObject type exposes the following members.

Methods
 NameDescription
Public methodGetClosestHitResult GetClosestHitResult method returns a DXRayHitTestResult 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 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.
Top
See Also