Click or drag to resize
Ab4d.SharpEngine logo

SceneViewGetClosestHitObject Method

Overload List
 NameDescription
Public methodGetClosestHitObject(Ray, HitTestOptions) GetClosestHitObject method executes a hit testing by using the specified Ray on the SceneNodes that are shown by this SceneView and returns a RayHitTestResult object with the closest triangle hit. When no triangle is hit, null is returned.
Public methodGetClosestHitObject(Single, Single, Boolean, HitTestOptions) GetClosestHitObject method executes a hit testing from the specified x and y positions on the SceneNodes that are shown by this SceneView and returns a RayHitTestResult object with the closest triangle hit. When no triangle is hit, null is returned.
Top
See Also