pub fn screen_position_to_world_ray(
    camera: EntityId,
    screen_position: Vec2
) -> Ray
Available on crate feature client only.
Expand description

Converts a screen position (e.g. mouse position) to a Ray in world space.