CSLTrack Class Reference
#include <Track.h>
Inheritance diagram for CSLTrack:
List of all members.
Detailed Description
Tracks are containers of action clips (CSLActionClip--see the XSI_Track template reference). They can be added to an animation mixer using the CSLMixer::AddTrack method.
- Note:
- CSLTrack is not supported by SI3D
- See also:
- CSLAction
CSLActionClip
CSLActionClipContainer
CSLMixer
Constructor & Destructor Documentation
Member Function Documentation
Synchronize will ensure that the animated parameter is up to date.
- Returns:
- SI_Error Error code
Reimplemented from CSLTemplate.
Returns the type of this template
- Returns:
- CSLTemplate::ETemplateType The type of this template: XSI_TRACK
Implements CSLTemplate.
Gets the value of the mute flag
- Return values:
-
|
|
True |
The track contributes to the animation. |
|
|
False |
The track does not contribute to the animation. |
| SI_Void SetMute |
( |
SI_Bool |
in_bNew |
) |
|
Sets the value of the mute flag
- Returns:
- in_bNew New value
- Note:
- When set to False, the track contributes to the animation.
Gets the value of the ripple flag
- Return values:
-
|
|
True |
A moved clip will push the next or previous clips along the track if necessary so that clips do not overlap on the same track. |
|
|
False |
Clips cannot be moved past the position of the next or previous clip. |
- Note:
- Adding new tracks will always ripple existing clips if necessary.
| SI_Void SetRipple |
( |
SI_Bool |
in_bNew |
) |
|
Sets the value of the ripple flag
- Parameters:
-
- Note:
- When set to True, moved clips will push the next or previous clips along the track if necessary so that clips do not overlap on the same track.
- Note:
- A False value can be used so clips cannot be moved past the position of the next or previous clip.
Gets the value of the solo flag
- Return values:
-
|
|
True |
Only this track contributes to the animation. |
|
|
False |
Other tracks might contribute to the animation. |
| SI_Void SetSolo |
( |
SI_Bool |
in_bNew |
) |
|
Sets the value of the solo flag
- Parameters:
-
|
|
in_bNew |
New value for the flat |
- Note:
- Set this flag to True if you want this track to be the sole contributor to the animation.
| SI_Error RemoveActionClip |
( |
SI_Int |
in_nIndex |
) |
|
Removes an action clip
- Parameters:
-
|
|
in_nIndex |
Index of the action clip to remove |
- Return values:
-
|
|
SI_SUCCESS |
The element was removed |
|
|
SI_ERR_BAD_ARGUMENT |
Invalid index |
Removes an action clip
- Parameters:
-
|
|
in_pToRemove |
Pointer to the action clip to remove |
- Return values:
-
|
|
SI_SUCCESS |
The element was removed |
|
|
SI_ERR_BAD_ARGUMENT |
The element could not be found |
Gets the list of all action clips
- Returns:
- CSLActionClip Pointer to the list of pointer of all action clips
| SI_Int GetActionClipCount |
( |
|
) |
|
Get the total number of action clips
- Returns:
- SI_Int The number of action clips
Adds a new ActionClip
- Returns:
- CSLActionClip Pointer to the newly added action clip
Adds a new ActionClipContainer
- Returns:
- CSLActionClipContainer Pointer to the newly added action clip container
Removes all action clips
- Returns:
- SI_SUCCESS
Adds a preallocated ActionClip to the action clip list
- Parameters:
-
- Returns:
- CSLActionClip The newly added action clip or null if it was already added
The documentation for this class was generated from the following file: