AnimationEventsSource

Type Alias AnimationEventsSource 

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

UI-specific animation blending state machine animation events source.

Aliased Type§

pub enum AnimationEventsSource {
    Unknown,
    State {
        handle: Handle<State<Handle<UiNode>>>,
        name: String,
    },
    Transition {
        handle: Handle<Transition<Handle<UiNode>>>,
        source_state_handle: Handle<State<Handle<UiNode>>>,
        dest_state_handle: Handle<State<Handle<UiNode>>>,
        source_state_name: String,
        dest_state_name: String,
    },
}

Variants§

§

Unknown

Layer is malformed and no events were gathered.

§

State

Animation events were gathered from a state.

Fields

§handle: Handle<State<Handle<UiNode>>>

A handle of a state, from which the events were collected.

§name: String

A name of a state, from which the events were collected.

§

Transition

Animation events were gathered from both states of a transition.

Fields

§handle: Handle<Transition<Handle<UiNode>>>

A handle of an active transition.

§source_state_handle: Handle<State<Handle<UiNode>>>

A handle of a source state of an active transition.

§dest_state_handle: Handle<State<Handle<UiNode>>>

A handle of a destination state of an active transition.

§source_state_name: String

A name of a source state of an active transition.

§dest_state_name: String

A name of a destination state of an active transition.