pub struct AnimEvent {
pub normalized_time: f32,
pub name: String,
pub value: f32,
}Expand description
An event fired at a specific normalized time within a clip.
Fields§
§normalized_time: f32Normalized time [0, 1] in clip when event fires.
name: StringEvent identifier (e.g. “footstep_left”, “attack_hit”, “spawn_fx”).
value: f32Optional payload float.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AnimEvent
impl RefUnwindSafe for AnimEvent
impl Send for AnimEvent
impl Sync for AnimEvent
impl Unpin for AnimEvent
impl UnsafeUnpin for AnimEvent
impl UnwindSafe for AnimEvent
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