Show / Hide Table of Contents

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 null if screenPoint does not touch the base surface (for example when the sky is tapped).

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)
LocationToScreen(MapPoint)
LocationToScreen(MapPoint, out LocationVisibility)

Applies to

Platforms and versions
TargetVersions
.NET iOS200.0 - 300.0
Xamarin.iOS100.0 - 100.15
In this article
Provide feedback
Back to top Copyright © 2025 Esri.