Function ambient_api::camera::world_to_screen
source · pub fn world_to_screen(camera: EntityId, world_position: Vec3) -> Vec3
Expand description
Converts a world-space position to a screen position (e.g. mouse position).
pub fn world_to_screen(camera: EntityId, world_position: Vec3) -> Vec3
Converts a world-space position to a screen position (e.g. mouse position).