Struct gltf_json::camera::Orthographic
source · pub struct Orthographic {
pub xmag: f32,
pub ymag: f32,
pub zfar: f32,
pub znear: f32,
pub extensions: Option<Orthographic>,
pub extras: Extras,
}
Expand description
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: Option<Orthographic>
Extension specific data.
extras: Extras
Optional application specific data.
Trait Implementations§
source§impl Clone for Orthographic
impl Clone for Orthographic
source§fn clone(&self) -> Orthographic
fn clone(&self) -> Orthographic
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 moresource§impl Debug for Orthographic
impl Debug for Orthographic
source§impl<'de> Deserialize<'de> for Orthographic
impl<'de> Deserialize<'de> for Orthographic
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Orthographic
impl Serialize for Orthographic
Auto Trait Implementations§
impl Freeze for Orthographic
impl RefUnwindSafe for Orthographic
impl Send for Orthographic
impl Sync for Orthographic
impl Unpin for Orthographic
impl UnwindSafe for Orthographic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more