Skip to content
Version 2.32.0
↓ Get the launcher

ICameraOverride.TryProjectToScreen method

Where world appears on screen through the camera that renders NOW: the free camera while any holder has it, else the game’s own camera. Screen pixels with the origin top-left (the same space as TryPickEntity); see InFront for points behind the camera. One projection, no allocation — fine every frame for a handful of markers. False (point = default) when there is no camera (not in the world). Works with or without an override. Main thread.

public bool TryProjectToScreen(Position3D world, out ScreenPoint point)
parameter description
world The world position.
point The screen point; default when false.