Function ambient_api_core::camera::world_to_screen
source · pub fn world_to_screen(camera: EntityId, world_position: Vec3) -> Vec3
Available on crate feature
client
only.Expand description
Converts a world-space position to a screen position (e.g. mouse position).