GetWorldToScreen method

Vector2D GetWorldToScreen(
  1. Vector3D position,
  2. Camera3DD camera
)

Get the screen space position for a 3d world space position

Implementation

Vector2D GetWorldToScreen(
  Vector3D position,
  Camera3DD camera,
) => run(
  () => _debugLabels.GetWorldToScreen(position, camera),
  () => _flat.GetWorldToScreen(
    position,
    camera,
  ),
);