Skip to main content

camera_job

Function camera_job 

Source
pub fn camera_job() -> Job
Expand description

A job that gives the render world this scene’s camera: one entity holding a camera aimed at the scene, and the frame behaviour that walks it around its orbit.

Where a scene looks from is the scene’s to say, so it reaches the render world the same way its meshes and poses do. The behaviour keeps the projection matched to the frame’s own aspect, and advances the orbit by each frame’s delta, so the speed does not follow the redraw rate.