pub enum Scale {
X(f32),
Y(f32),
Z(f32),
Xyz(f32, f32, f32),
}Expand description
The Scale structure represents a scale transformation in one of several possible variants.
There are different variants of this type of tranformation, one for each “kind”.
When contained inside a node structure, a Scale structure can be the target of a strack stored inside an Animation structure.
Variants§
X(f32)
The scaling occurs along only the X axis.
Y(f32)
The scaling occurs along only the Y axis.
Z(f32)
The scaling occurs along only the Z axis.
Xyz(f32, f32, f32)
The scaling occurs along all three coordinate axes.
Auto Trait Implementations§
impl Freeze for Scale
impl RefUnwindSafe for Scale
impl Send for Scale
impl Sync for Scale
impl Unpin for Scale
impl UnwindSafe for Scale
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more