[][src]Struct rin::graphics::ortho_camera::Builder

pub struct Builder { /* fields omitted */ }

Methods

impl Builder
[src]

Creates a camera Builder using a window to extract the needed info

Takes event_stream and viewport from the window passed as parameter

Near and far clip planes

Up vector (defaults to Vec3::y_axis())

Position of the camera (defaults to origin)

Position the camera will look at (defaults to pnt3(0., 0., -1))

Aspect ratio of the viewport

Width the camera will show

Create the camera

Auto Trait Implementations

impl Send for Builder

impl Sync for Builder

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<V> IntoVec for V
[src]

impl<V> IntoPnt for V
[src]

impl<T> Same for T
[src]

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]