Nez.Portable/UI/Stage.cs
/// <summary>
/// Transforms the screen coordinates to stage coordinates
/// </summary>
/// <returns>The to stage coordinates.</returns>
/// <param name="screenCoords">Screen coords.</param>
Transforms the screen coordinates to stage coordinates
Transforms the screen coordinates to stage coordinates
public Vector2 screenToStageCoordinates(Vector2 screenCoords)
        {
            if (camera == null)
                return screenCoords;
            return camera.screenToWorldPoint(screenCoords);
        }
public Vector2 screenToStageCoordinates ( Vector2 screenCoords ) { if ( camera == null ) return screenCoords ; return camera . screenToWorldPoint ( screenCoords ) ; }
Transforms the screen coordinates to stage coordinates
Transforms the screen coordinates to stage coordinates
The to stage coordinates.
The to stage coordinates .
screenCoords
Vector2
None