AbsoluteToWindow
Introduction
Code Example
// Assuming SpriteInstance is a valid Sprite
int screenX;
int screenY;
MathFunctions.AbsoluteToWindow(SpriteInstance.X, SpriteInstance.Y, SpriteInstance.Z, ref screenX, ref screenY, Camera.Main);Last updated
Was this helpful?