Nez.Portable/ECS/Camera.cs
/// <summary>
/// converts a point from world coordinates to screen
/// </summary>
/// <returns>The to screen point.</returns>
/// <param name="worldPosition">World position.</param>
converts a point from world coordinates to screen
converts a point from world coordinates to screen
public Vector2 worldToScreenPoint(Vector2 worldPosition)
        {
            updateMatrixes();
            Vector2Ext.transform(ref worldPosition, ref _transformMatrix, out worldPosition);
            return worldPosition;
        }
public Vector2 worldToScreenPoint ( Vector2 worldPosition ) { updateMatrixes ( ) ; Vector2Ext . transform ( ref worldPosition , ref _transformMatrix , out worldPosition ) ; return worldPosition ; }
converts a point from world coordinates to screen
converts a point from world coordinates to screen
The to screen point.
The to screen point .
worldPosition
Vector2
None