Module ambient_api::camera
source · Expand description
Helper functions for the camera.
Functions
- Converts clip-space coordinates to a Ray in world space.
- Get the active camera.
- Converts a screen position (e.g. mouse position) to a Ray in world space.
- Converts a screen position (e.g. mouse position) to clip-space coordinates for the window.
- Converts a world-space position to a screen position (e.g. mouse position).