pub struct Orthographic {
pub xmag: Option<f32>,
pub ymag: Option<f32>,
pub extra: Vec<Extra>,
pub aspect_ratio: Option<f32>,
pub znear: f32,
pub zfar: f32,
}
Expand description
Describes the field of view of an orthographic camera.
Fields§
§xmag: Option<f32>
The horizontal (X) magnification of the view.
ymag: Option<f32>
The vertical (Y) magnification of the view.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
aspect_ratio: Option<f32>
The aspect ratio of the field of view.
znear: f32
The distance to the near clipping plane.
zfar: f32
The distance to the far clipping plane.
Implementations§
Trait Implementations§
Source§impl Clone for Orthographic
impl Clone for Orthographic
Source§fn clone(&self) -> Orthographic
fn clone(&self) -> Orthographic
Returns a duplicate 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 moreAuto 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