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

pub struct Builder { /* fields omitted */ }

Methods

impl Builder
[src]

Create an ArcballCameraBuilder from a window event stream and a window size

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

Takes event_stream and viewport from the window passed as parameter

Create an ArcballCameraBuilder from an already existing camera

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

If the resulting camera will roll around the relative z axis when left mouse dragging outside a circle with a radius of the height of the screen (defaults to false)

Custom view events to change the default keyboard mappings or use something enterely different from key presses

Create the arcball 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]