Struct gltf::camera::Orthographic
[−]
[src]
pub struct Orthographic<'a> { /* fields omitted */ }
Values for an orthographic camera projection.
Methods
impl<'a> Orthographic<'a>
[src]
fn new(gltf: &'a Gltf, json: &'a Orthographic) -> Self
Constructs a Orthographic
camera projection.
fn as_json(&self) -> &Orthographic
Returns the internal JSON item.
fn xmag(&self) -> f32
The horizontal magnification of the view.
fn ymag(&self) -> f32
The vertical magnification of the view.
fn zfar(&self) -> f32
The distance to the far clipping plane.
fn znear(&self) -> f32
The distance to the near clipping plane.
fn extras(&self) -> &Extras
Optional application specific data.
Trait Implementations
impl<'a> Clone for Orthographic<'a>
[src]
fn clone(&self) -> Orthographic<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more