getAnimationName

Script::getAnimationName

Returns the name of the animation.

Declaration

std::string getAnimationName(const Animation* animation);

Parameters

Name

Type

Description

animation

const Animation*

The Animation to get the name of.

Returns

The name of the Animation if it exists, else, returns the empty string "".