Enum nannou::draw::properties::spatial::orientation::Properties[][src]

pub enum Properties<S> {
    Axes(Axes<S>),
    LookAt(LookAt<S>),
}

Orientation properties for Drawing a Node.

Variants

The orientation described by an angle along each axis.

The orientation described by looking at some other point.

Methods

impl<S> Properties<S>
[src]

If the Properties was set to the LookAt variant, this method switches to the Axes variant.

If the Properties is already Axes, nothing changes.

Trait Implementations

impl<S: Copy> Copy for Properties<S>
[src]

impl<S: Clone> Clone for Properties<S>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for Properties<S>
[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq> PartialEq for Properties<S>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<S> SetOrientation<S> for Properties<S>
[src]

Provide a mutable reference to the orientation::Properties for updating.

Describe orientation via the vector that points to the given target.

Describe orientation via the vector that points to the given node.

Describe orientation via the vector that points to the given point.

Build with the given Orientation along the x axis.

Build with the given Orientation along the x axis.

Build with the given Orientation along the x axis.

Specify the orientation around the x axis as an absolute value in radians.

Specify the orientation around the y axis as an absolute value in radians.

Specify the orientation around the z axis as an absolute value in radians.

Specify the orientation around the x axis as an absolute value in radians.

Specify the orientation around the y axis as an absolute value in radians.

Specify the orientation around the z axis as an absolute value in radians.

Specify the orientation around the x axis as a number of turns around the axis.

Specify the orientation around the y axis as a number of turns around the axis.

Specify the orientation around the z axis as a number of turns around the axis.

Specify the orientation along each axis with the given Vector of radians. Read more

Specify the orientation along each axis with the given Vector of degrees. Read more

Specify the orientation along each axis with the given Vector of "turns". Read more

Specify the orientation with the given Euler. Read more

Specify the orientation with the given Quaternion.

Specify the orientation around the x axis as a relative value in radians.

Specify the orientation around the y axis as a relative value in radians.

Specify the orientation around the z axis as a relative value in radians.

Specify the orientation around the x axis as a relative value in radians.

Specify the orientation around the y axis as a relative value in radians.

Specify the orientation around the z axis as a relative value in radians.

Specify the orientation around the x axis as a relative value in degrees.

Specify the orientation around the y axis as a relative value in degrees.

Specify the orientation around the z axis as a relative value in degrees.

Specify the orientation around the x axis as a relative value in degrees.

Specify the orientation around the y axis as a relative value in degrees.

Specify the orientation around the z axis as a relative value in degrees.

Specify the relative orientation around the x axis as a number of turns around the axis.

Specify the relative orientation around the y axis as a number of turns around the axis.

Specify the relative orientation around the z axis as a number of turns around the axis.

Specify the relative orientation around the x axis as a number of turns around the axis.

Specify the relative orientation around the y axis as a number of turns around the axis.

Specify the relative orientation around the z axis as a number of turns around the axis.

Specify a relative orientation along each axis with the given Vector of radians. Read more

Specify a relative orientation along each axis with the given Vector of radians. Read more

Specify a relative orientation along each axis with the given Vector of degrees. Read more

Specify a relative orientation along each axis with the given Vector of degrees. Read more

Specify a relative orientation along each axis with the given Vector of "turns". Read more

Specify a relative orientation along each axis with the given Vector of "turns". Read more

Specify a relative orientation with the given Euler. Read more

Specify a relative orientation with the given Euler. Read more

Specify the "pitch" of the orientation in radians. Read more

Specify the "yaw" of the orientation in radians. Read more

Specify the "roll" of the orientation in radians. Read more

Assuming we're looking at a 2D plane, positive values cause a clockwise rotation where the given value is specified in radians. Read more

impl<S> Default for Properties<S>
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl<S> Send for Properties<S> where
    S: Send

impl<S> Sync for Properties<S> where
    S: Sync