List of all members.
Member Function Documentation
Adds a core track.
This function adds a core track to the core animation instance.
- Parameters:
-
pCoreTrack | A pointer to the core track that should be added. |
- Returns:
- One of the following values:
- true if successful
- false if an error happend
Provides access to a core track.
This function returns the core track for a given bone ID.
- Parameters:
-
coreBoneId | The core bone ID of the core track that should be returned. |
- Returns:
- One of the following values:
- a pointer to the core track
- 0 if an error happend
Returns the duration.
This function returns the duration of the core animation instance.
- Returns:
- The duration in seconds.
Get the name of the file in which the core animation is stored, if any.
- Returns:
- One of the following values:
- empty string if the animation was not stored in a file
- the path of the file
Returns the core track list.
This function returns the list that contains all core tracks of the core animation instance.
- Returns:
- A reference to the core track list.
Get the symbolic name the core animation.
- Returns:
- One of the following values:
- empty string if the animation was no associated to a symbolic name
- the symbolic name
Returns the total number of core keyframes used for this animation.
This function returns the total number of core keyframes used for this animation instance (i.e.: the sum of all core keyframes of all core tracks).
- Returns:
- A reference to the core track list.
Gets the number of core tracks for this core animation.
This function returns the number of core tracks used for this core animation.
- Returns:
- The number of core tracks
Add a callback to the current list of callbacks for this CoreAnim.
- Parameters:
-
callback | Ptr to a subclass of this abstract class implementing the callback function. |
min_interval | Minimum interval (in seconds) between callbacks. Specifying 0 means call every update(). |
Remove a callback from the current list of callbacks for this Anim.
Callback objects not removed this way will be deleted in the dtor of the Anim.
- Parameters:
-
callback | Ptr to a subclass of this abstract class implementing the callback function to remove. |
Scale the core animation.
This function rescale all the skeleton data that are in the core animation instance
- Parameters:
-
factor | A float with the scale factor |
Sets the duration.
This function sets the duration of the core animation instance.
- Parameters:
-
duration | The duration in seconds that should be set. |
Set the name of the file in which the core animation is stored, if any.
- Parameters:
-
filename | The path of the file. |
Set the symbolic name of the core animation.
- Parameters:
-
The documentation for this class was generated from the following files: