Client helpers for projecting world positions through the active game camera.
Projects a world-space position to display pixel coordinates.
World X coordinate.
World Y coordinate.
World Z coordinate.
Screen coordinates and whether the point is visible through the active camera.
const point = Camera.worldToScreen(10, 20, 5);if (point.visible) { // point.x and point.y are display pixels.} Copy
const point = Camera.worldToScreen(10, 20, 5);if (point.visible) { // point.x and point.y are display pixels.}
Client helpers for projecting world positions through the active game camera.