LayerAnimationEventsCollection

Type Alias LayerAnimationEventsCollection 

Source
pub type LayerAnimationEventsCollection = LayerAnimationEventsCollection<Handle<UiNode>>;
Expand description

UI-specific animation blending state machine layer animation events collection.

Aliased Type§

pub struct LayerAnimationEventsCollection {
    pub source: AnimationEventsSource<Handle<UiNode>>,
    pub events: Vec<(Handle<Animation<Handle<UiNode>>>, AnimationEvent)>,
}

Fields§

§source: AnimationEventsSource<Handle<UiNode>>

A source of events.

§events: Vec<(Handle<Animation<Handle<UiNode>>>, AnimationEvent)>

Actual animation events, defined as a tuple (animation handle, event).