Struct gltf_json::camera::Orthographic [−][src]
pub struct Orthographic { pub xmag: f32, pub ymag: f32, pub zfar: f32, pub znear: f32, pub extensions: Orthographic, pub extras: Extras, }
Values for an orthographic camera.
Fields
xmag: f32
The horizontal magnification of the view.
ymag: f32
The vertical magnification of the view.
zfar: f32
The distance to the far clipping plane.
znear: f32
The distance to the near clipping plane.
extensions: Orthographic
Extension specific data.
extras: Extras
Optional application specific data.
Trait Implementations
impl Clone for Orthographic
[src]
impl Clone for Orthographic
fn clone(&self) -> Orthographic
[src]
fn clone(&self) -> Orthographic
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 Debug for Orthographic
[src]
impl Debug for Orthographic
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Validate for Orthographic
[src]
impl Validate for Orthographic
fn validate_completely<P, R>(&self, root: &Root, path: P, report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
[src]
fn validate_completely<P, R>(&self, root: &Root, path: P, report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates the data against the glTF 2.0 specification. Read more
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
[src]
fn validate_minimally<P, R>(&self, _root: &Root, _path: P, _report: &mut R) where
P: Fn() -> Path,
R: FnMut(&Fn() -> Path, Error),
Validates only the invariants required for the library to function safely.
Auto Trait Implementations
impl Send for Orthographic
impl Send for Orthographic
impl Sync for Orthographic
impl Sync for Orthographic