Function ambient_api::core::camera::components::active_camera
source · pub fn active_camera() -> Component<f32>
Expand description
Active camera: The camera with the highest active_camera
value will be used for rendering. Cameras are also filtered by the user_id
.
If there’s no user_id
, the camera is considered global and potentially applies to all users (if its active_camera
value is high enough).
Attributes: Debuggable, Networked, Store