findAnimationByName
Script::findAnimationByName
Returns the animation associated with the name.
Declaration
Animation* findAnimationByName(const std::string& animationName);
Parameters
Name |
Type |
Description |
|---|---|---|
animationName |
const std::string& |
The name of the Animation. |
Returns
A pointer to an Animation if the name is associated with an Animation, else, returns nullptr.