This documents an old version of bs::framework. Click here to see the latest release.
AnimationEvent Struct Reference

Description

Event that is triggered when animation reaches a certain point.

Methods

 AnimationEvent (const String &name, float time)
 Constructs a new animation event. More...
 

Fields

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

Member Data Documentation

◆ name

String name

Name used to identify the event when triggered.

◆ time

float time

Time at which to trigger the event, in seconds.

Constructor & Destructor Documentation

◆ AnimationEvent()

AnimationEvent ( const String name,
float  time 
)

Constructs a new animation event.

Parameters
[in]nameName used to identify the event when triggered.
[in]timeTime at which to trigger the event, in seconds.