Skip to contents

Get the screen space position for a 2d camera world space position.

Usage

get_world_to_screen_2d(position, camera)

Arguments

position

A numeric vector of length 2.

camera

A camera_2d.

Value

A numeric vector of length 2

Note

This function has been auto-generated from the following Raylib function definition:

Vector2 GetWorldToScreen2D(Vector2 position, Camera2D camera);