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¶
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¶
- struct RaycastHitTestResult
- class Graphics3DControl
- namespace Eremex.AvaloniaUI.Controls3D