Method ScreenToBaseSurface
ScreenToBaseSurface(CGPoint)
Converts a screen coordinate to a location on the base surface in scene coordinates, considering only the scene's base surface and ignoring other scene content.
Declaration
public MapPoint? ScreenToBaseSurface(CGPoint screenPoint)
Parameters
| Type | Name | Description |
|---|---|---|
| CGPoint | screenPoint | The screen coordinate, in pixels. The coordinate of the top left corner of the screen is 0,0. |
Returns
| Type | Description |
|---|---|
| MapPoint | A MapPoint on the base surface of the scene;
or |
Remarks
To call this method, assign a scene to the scene view, ensure that it is loaded and the draw status is Completed.
See Also
ScreenToLocationAsync(CGPoint)
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET iOS | 200.0 - 300.0 |
| Xamarin.iOS | 100.0 - 100.15 |