#include <Action.h>
Inheritance diagram for CSLAction:

| enum EActionType |
Enumeration of all possible action types.
| CSLAction | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Pointer to the scene containing the CSLAction | |
| in_pModel | Pointer to the model containing the CSLAction | |
| in_pTemplate | Pointer to the CdotXSITemplate defining the CSLAction data |
Destructor
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes internal data to be coherent with the IO layer
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAAction.
Returns the type of this template
Implements CSLTemplate.
Gets the action type
Sets the action type
| in_Type | The action type |
Gets the end time
Reimplemented in CSLCOLLADAAction.
Sets the end time of the action
| in_fTime | The end time |
Reimplemented in CSLCOLLADAAction.
Gets the start time of the action
Reimplemented in CSLCOLLADAAction.
Sets the start time of the action
| in_fTime | The new start time |
Reimplemented in CSLCOLLADAAction.
Removes a shape animation
| in_nIndex | Index of the shape animation to remove |
| SI_SUCCESS | The shape animation was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveShapeAnimation | ( | CSLShapeAnimation * | io_pToRemove | ) |
Removes a shape animation
| in_pToRemove | Pointer to the shape animation to remove |
| SI_SUCCESS | The shape animation was removed | |
| SI_ERR_BAD_ARGUMENT | Could not find the shape animation |
Gets the list of all shape animations
Get the total number of shape animations
Adds a new shape animation
| in_Type | Interpolation type to use |
Removes all shape animations
| SI_SUCCESS |
Adds a preallocated shape animation to the shape animation list
| CSLShapeAnimation | Pointer to the shape animation to add |
Removes a xsi shape animation
| in_nIndex | Index of the xsi shape animation to remove |
| SI_SUCCESS | The xsi shape animation was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveXSIShapeAnimation | ( | CSLXSIShapeAnimation * | io_pToRemove | ) |
Removes a xsi shape animation
| in_pToRemove | Pointer to the xsi shape animation to remove |
| SI_SUCCESS | The xsi shape animation was removed | |
| SI_ERR_BAD_ARGUMENT | Could not find the xsi shape animation |
Gets the list of all xsi shape animations
Get the total number of xsi shape animations
Adds a new xsi shape animation
| in_Type | Interpolation type to use |
Removes all xsi shape animations
| SI_SUCCESS |
Adds a preallocated xsi shape animation to the xsi shape animation list
| CSLXSIShapeAnimation | Pointer to the xsi shape animation to add |
Removes an animation
| in_nIndex | Index of the animation to remove |
| SI_SUCCESS | The animation was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveAnimation | ( | CSLActionFCurve * | io_pToRemove | ) |
Removes an animation
| in_pToRemove | Pointer to the animation to remove |
| SI_SUCCESS | The animation was removed | |
| SI_ERR_BAD_ARGUMENT | Animation was not found |
Gets the list of all animations
Get the total number of Animations
Adds a new animation with default interpolation ( constant interpolation )
Reimplemented in CSLCOLLADAAction.
| virtual CSLActionFCurve* AddAnimation | ( | EFCurveInterpolationType | in_InterpolationType | ) | [virtual] |
Adds a new animation
| in_InterpolationType | FCurve interpolation type |
Reimplemented in CSLCOLLADAAction.
Removes all animations
| SI_SUCCESS |
Adds a preallocated animation to the animation list
| CSLActionFCurve | Pointer to the animation to add |
Removes a static value
| in_nIndex | Index of the static value to remove |
| SI_SUCCESS | The static value was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveStaticValue | ( | CSLStaticValue * | io_pToRemove | ) |
Removes a static value
| in_pToRemove | Pointer to the static value to remove |
| SI_SUCCESS | The static value was removed | |
| SI_ERR_BAD_ARGUMENT | static value was not found |
Gets the list of all static values
Get the total number of static values
Adds a new static value
Removes all static values
| SI_SUCCESS |
Adds a preallocated static value to the static value list
| CSLStaticValue | Pointer to the static value to add |