struct AnimationEvent

Event that is triggered when animation reaches a certain point.

Public

Constructors

AnimationEvent

AnimationEvent() = default

AnimationEvent

AnimationEvent(const String &name, float time)

Constructs a new animation event.

name
Name used to identify the event when triggered.
time
Time at which to trigger the event, in seconds.

Fields

Name

String Name

Name used to identify the event when triggered.

Time

float Time

Time at which to trigger the event, in seconds.