Enum nannou::draw::properties::spatial::orientation::Properties [−][src]
Expand description
Orientation properties for Drawing a Primitive.
Variants
Axes(Vec3)
The orientation described by an angle along each axis.
Tuple Fields of Axes
0: Vec3
LookAt(Point3)
The orientation described by looking at some other point.
Tuple Fields of LookAt
0: Point3
Quat(Quat)
Angle described by quarternion.
Tuple Fields of Quat
0: Quat
Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Provide a mutable reference to the orientation::Properties for updating.
Describe orientation via the vector that points to the given target.
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 degrees.
Specify the orientation around the y axis as an absolute value in degrees.
Specify the orientation around the z axis as an absolute value in degrees.
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 orientation in radians.
Specify the orientation with the given Quaternion.
Auto Trait Implementations
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnwindSafe for Properties
Blanket Implementations
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
T: Component + Float,
Swp: WhitePoint,
Dwp: WhitePoint,
D: AdaptFrom<S, Swp, Dwp, T>,
Mutably borrows from an owned value. Read more
Convert into T with values clamped to the color defined bounds Read more
Convert into T. The resulting color might be invalid in its color space Read more
Convert into T, returning ok if the color is inside of its defined range,
otherwise an OutOfBounds
error is returned which contains the unclamped color. Read more