Struct gltf::camera::Perspective
[−]
[src]
pub struct Perspective<'a> { /* fields omitted */ }Values for a perspective camera projection.
Methods
impl<'a> Perspective<'a>[src]
pub fn aspect_ratio(&self) -> Option<f32>[src]
Aspect ratio of the field of view.
pub fn yfov(&self) -> f32[src]
The vertical field of view in radians.
pub fn zfar(&self) -> Option<f32>[src]
The distance to the far clipping plane.
pub fn znear(&self) -> f32[src]
The distance to the near clipping plane.
pub fn extras(&self) -> &Extras[src]
Optional application specific data.
Trait Implementations
impl<'a> Clone for Perspective<'a>[src]
fn clone(&self) -> Perspective<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more