#include <ActionClip.h>
Inheritance diagram for CSLActionClip:

Public Member Functions |
|
| CSLActionClip (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLActionClip () |
| SI_Error | Synchronize () |
| CSLTemplate::ETemplateType | Type () |
| SI_Bool | GetActive () |
| SI_Void | SetActive (SI_Bool in_bNew) |
| SI_Float | GetDuration () |
| SI_Void | SetDuration (SI_Float in_fNew) |
| SI_Bool | GetFillAction () |
| SI_Void | SetFillAction (SI_Bool in_bNew) |
| SI_Int | GetFillPriority () |
| SI_Void | SetFillPriority (SI_Int in_nNew) |
| SI_Float | GetStartTime () |
| SI_Void | SetStartTime (SI_Float in_fNew) |
| SI_Float | GetWeight () |
| SI_Void | SetWeight (SI_Float in_fNew) |
| CSLAction * | GetReference () |
| SI_Void | SetReference (CSLAction *in_pAction) |
| CSLTimeControl * | AddTimeControl () |
| CSLTimeControl * | ConnectTimeControl (CSLTimeControl *in_pTimeControl) |
| SI_Error | RemoveTimeControl (SI_Int in_nIndex) |
| SI_Error | RemoveTimeControl (CSLTimeControl *in_pTimeControl) |
| CSLTimeControl ** | GetTimeControlList () |
| SI_Int | GetTimeControlCount () |
| SI_Error | ClearTimeControls () |
| CSLActionClip | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Pointer to the scene containing the ActionClip | |
| in_pModel | Pointer to the model containing the ActionClip | |
| in_pTemplate | Pointer to the CdotXSITemplate defining the ActionClip |
Destructor
| SI_Error Synchronize | ( | ) | [virtual] |
Synchronize will ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
Gets the type of this template
Implements CSLTemplate.
Gets the active flag that determines whether the clip contributes to the animation or not.
| true | The clip contributes to the animation | |
| false | The clip does not contribute to the animation |
Sets whether the clip contributes to the animation or not
| in_bew | true to contribute, false otherwise |
Gets the length of the clip
Sets the the length of the clip
| in_fNew | New Duration |
Gets the fill action flag
| true | The clip is a fill action | |
| false | The clip is not a fill action |
Sets the fill action flag
| in_bew | True to enable fill action, false otherwise |
Gets the priority of the fill action
Sets the priority of the fill action
| in_nNew | New fill priority value |
Gets the start time of the clip
Sets the start time of the clip
| in_fNew | New start time |
Gets the relative weight of the action clip when it is mixed with other clips that affect the same parameters or clusters at the same frames.
Sets the relative weight of the action clip when it is mixed with other clips that affect the same parameters or clusters at the same frames.
Gets the action source
| Pointer | to the action source | |
| NULL | No action source was set, this should never happen unless it was ovverriden by mistake by CSLActionClip::SetReference. |
Sets the action source
| in_pAction | Pointer to the new Referred action |
Add a new time control
Add a previously allocated time control
| in_pTimeControl | Pointer to the time control to add |
Removes a specific time control
| SI_Index | Index of the control to remove |
| SI_SUCCESS | The element was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveTimeControl | ( | CSLTimeControl * | in_pTimeControl | ) |
Removes a specific time control
| in_pTimeControl | Pointer of the control to remove |
| SI_SUCCESS | The element was removed | |
| SI_ERR_BAD_ARGUMENT | Could not find the element to remove |
Gets the list of all time controls
Gets the time control count
Frees all time controls
| SI_SUCCESS |