![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Functions | |
| void | SetParameter (VisualAnimation_data &animData, const std::string &name, float value) |
| Set float parameter value. | |
| void | SetParameter (VisualAnimation_data &animData, const std::string &name, bool value) |
| Set bool parameter value. | |
| void | SetParameter (VisualAnimation_data &animData, const std::string &name, int value) |
| Set int parameter value. | |
| float | GetFloatParameter (const VisualAnimation_data &animData, const std::string &name, float defaultValue=0.0f) |
| Get float parameter value with default. | |
| bool | GetBoolParameter (const VisualAnimation_data &animData, const std::string &name, bool defaultValue=false) |
| Get bool parameter value with default. | |
| int | GetIntParameter (const VisualAnimation_data &animData, const std::string &name, int defaultValue=0) |
| Get int parameter value with default. | |
| bool | HasParameter (const VisualAnimation_data &animData, const std::string &name) |
| Check if parameter exists (any type) | |
| void | ClearParameters (VisualAnimation_data &animData) |
| Clear all parameters. | |
|
inline |
Clear all parameters.
Definition at line 96 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Get bool parameter value with default.
Definition at line 64 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Get float parameter value with default.
Definition at line 55 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Get int parameter value with default.
Definition at line 73 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Check if parameter exists (any type)
Definition at line 86 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Set bool parameter value.
Definition at line 35 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Set float parameter value.
Definition at line 27 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
inline |
Set int parameter value.
Definition at line 43 of file AnimationHelpers.h.
References GetComponentTypeID_Static().
Here is the call graph for this function: