Function ambient_api::core::camera::components::aspect_ratio
source · pub fn aspect_ratio() -> Component<f32>
Expand description
Aspect ratio: The aspect ratio of this camera.
If aspect_ratio_from_window
is set, this will be automatically updated to match the window.
Attributes: Debuggable, Networked, Store