pub struct UvAnimationState {
pub scroll: [f32; 2],
pub rotation: f32,
}Expand description
Time-dependent MToon UV animation shared by all texture slots of a material.
A renderer samples the optional MToon UV animation mask and applies this transform before the expression-wide and per-texture transforms.
Fields§
§scroll: [f32; 2]Accumulated MToon UV scroll offset.
rotation: f32Accumulated MToon UV rotation in radians.
Trait Implementations§
Source§impl Clone for UvAnimationState
impl Clone for UvAnimationState
impl Copy for UvAnimationState
Source§impl Debug for UvAnimationState
impl Debug for UvAnimationState
Source§impl Default for UvAnimationState
impl Default for UvAnimationState
Source§impl PartialEq for UvAnimationState
impl PartialEq for UvAnimationState
impl StructuralPartialEq for UvAnimationState
Auto Trait Implementations§
impl Freeze for UvAnimationState
impl RefUnwindSafe for UvAnimationState
impl Send for UvAnimationState
impl Sync for UvAnimationState
impl Unpin for UvAnimationState
impl UnsafeUnpin for UvAnimationState
impl UnwindSafe for UvAnimationState
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