GetWorldToScreenEx method

Vector2 GetWorldToScreenEx(
  1. Vector3 position,
  2. Camera3D camera,
  3. num width,
  4. num height,
)

Get size position for a 3d world space position

Implementation

Vector2 GetWorldToScreenEx(
  Vector3 position,
  Camera3D camera,
  num width,
  num height,
) => run(
  () => _debugLabels.GetWorldToScreenEx(position, camera, width, height),
  () => _flat.GetWorldToScreenEx(
    position,
    camera,
    width.toInt(),
    height.toInt(),
  ),
);