screenToBaseSurface

fun screenToBaseSurface(screenCoordinate: ScreenCoordinate): Point?

Converts a screen coordinate (in pixels) to a point on the base surface of the scene within the TableTopSceneView's spatial reference.

To call this method, assign a scene to the TableTopSceneView, ensure that it is loaded and the draw status is DrawStatus.Completed.

May return null in some circumstances, such as if the TableTopSceneView's spatial reference has not been determined yet.

Return

a Point object, or null if the location could not be determined

Since

200.6.0

Parameters

screenCoordinate

the screen point, in pixels