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