Struct gltf::camera::Perspective
source · pub struct Perspective<'a> { /* private fields */ }Expand description
Values for a perspective camera projection.
Implementations§
source§impl<'a> Perspective<'a>
impl<'a> Perspective<'a>
sourcepub fn aspect_ratio(&self) -> Option<f32>
pub fn aspect_ratio(&self) -> Option<f32>
Aspect ratio of the field of view.
Trait Implementations§
source§impl<'a> Clone for Perspective<'a>
impl<'a> Clone for Perspective<'a>
source§fn clone(&self) -> Perspective<'a>
fn clone(&self) -> Perspective<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more