Skip to main content

set_active_camera

Function set_active_camera 

Source
pub fn set_active_camera(world: &mut World, camera: Entity) -> bool
Expand description

Makes camera the only primary camera (the one the game looks through).