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

pub struct OrthoCamera { /* fields omitted */ }

Orthographic camera

Methods

impl OrthoCamera
[src]

Creates a new camera from frustrum values.

Projection matrix

View matrix

Projection * View

Near and far clip planes as a tuple

Near clip

Far clip

Target the camera will look at, the target will change if the camera is moved or re-oriented

Left most distance of the camera frustum from the camera

Right most distance of the camera frustum from the camera

Bottom most distance of the camera frustum from the camera

Top most distance of the camera frustum from the camera

Call every frame to update the camera matrices

Returns true if the camera changed since the last udpate

Trait Implementations

impl NodeRef for OrthoCamera
[src]

Returns the local position of this node

Returns the orientation of this node as a quaternion which is how it's stored internally Read more

Returns the orientation of this node as a Rotation3. Read more

Returns the current local scale

The node orientation x axis

The node orientation y axis

The node orientation z axis

Local transformation matrix

Global transformation matrix

Global position of this node

Global orientation of this node

Global scale of this node

Inverse local transformation of this node Read more

Inverse global transformation of this node Read more

impl NodeMut for OrthoCamera
[src]

Sets the local scale

impl CameraExt for OrthoCamera
[src]

impl CameraOrthographic for OrthoCamera
[src]

Auto Trait Implementations

impl Send for OrthoCamera

impl Sync for OrthoCamera

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]