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