Skip to content

Graphics3DControl.HitTest method

Searches the scene for the model and mesh located under the given point.

Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D

Declaration

public RaycastHitTestResult? HitTest(Point position)

Parameters

name type description
position Point The point in the coordinate system of the control.

Returns

type description
RaycastHitTestResult? The nearest model and mesh under the point, or null if the point is over empty space.

See Also