getWorldToScreenEx function

Vector2 getWorldToScreenEx(
  1. Vector3 position,
  2. Camera3D camera,
  3. int width,
  4. int height,
)

Get size position for a 3d world space position.

Implementation

Vector2 getWorldToScreenEx(
  Vector3 position,
  Camera3D camera,
  int width,
  int height,
) {
  return Vector2.fromRef(
    library.GetWorldToScreenEx(position.ref, camera.ref, width, height),
  );
}