pub struct EffectValues {
pub beat: f32,
pub beat_progression: f32,
pub opacity: f32,
pub color_shift: f32,
}Expand description
An effect’s values at one moment, with its curves and sound triggers applied: what the renderer draws it with.
Fields§
§beat: f32The scene’s beat moved by the effect’s beat offset; the effect’s settings are evaluated at it.
beat_progression: f32The effect’s progression curve at beat, which drives its animation.
opacity: f32§color_shift: f32In degrees.
Trait Implementations§
Source§impl Clone for EffectValues
impl Clone for EffectValues
impl Copy for EffectValues
Source§impl Debug for EffectValues
impl Debug for EffectValues
Source§impl Default for EffectValues
impl Default for EffectValues
Source§impl PartialEq for EffectValues
impl PartialEq for EffectValues
impl StructuralPartialEq for EffectValues
Auto Trait Implementations§
impl Freeze for EffectValues
impl RefUnwindSafe for EffectValues
impl Send for EffectValues
impl Sync for EffectValues
impl Unpin for EffectValues
impl UnsafeUnpin for EffectValues
impl UnwindSafe for EffectValues
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DebugAny for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more