CSLTimeControl Class Reference
This class represents an XSI_TimeControl template.
More...#include <TimeControl.h>
Inheritance diagram for CSLTimeControl:
List of all members.
Detailed Description
This class represents an XSI_TimeControl template.
Stores the clipping and offset parameters of an action clip (CSLActionClip--see the XSI_TimeControl template reference). You can add a CSLTimeControl with the CSLActionClip::AddTimeControl method.
- Note:
- CSLTimeControl is not supported by SI3D.
- See also:
- CSLActionClip
CSLExtrapolation
Member Enumeration Documentation
Specifies where extrapolation occures while processing an CSLActionClip.
- Enumerator:
-
Constructor & Destructor Documentation
Member Function Documentation
Returns the type of this template
- Return values:
-
Implements CSLTemplate.
Synchronizes to ensure that the animated parameter is up to date.
- Returns:
- Error code
Reimplemented from CSLTemplate.
Returns the first frame of the source that is used by the clip.
- Returns:
- Frame number
| SI_Void SetIn |
( |
SI_Float |
in_fNew |
) |
|
Sets the first frame of the source that is used by the clip.
- Parameters:
-
| [in] |
in_fNew |
Frame number |
Returns the last frame of the source that is used by the clip.
- Returns:
- Frame number
| SI_Void SetOut |
( |
SI_Float |
in_fNew |
) |
|
Sets the last frame of the source that is used by the clip.
- Parameters:
-
| [in] |
in_fNew |
Frame number |
Returns the scaling of the clip in time.
- Returns:
- The scale value
| SI_Void SetScale |
( |
SI_Float |
in_fNew |
) |
|
Sets The scaling of the clip in time.
- Parameters:
-
| [in] |
in_fNew |
Scale factor |
- Note:
- Increasing this value speeds up the relative time of the clip, decreasing the duration.
| SI_Float GetStartOffset |
( |
|
) |
|
Returns the frame where the clip starts in the local time of the CSLActionClip.
- Returns:
- The start offset
| SI_Void SetStartOffset |
( |
SI_Float |
in_fNew |
) |
|
Sets he frame where the clip starts in the local time of the CSLActionClip.
- Parameters:
-
| [in] |
in_fNew |
The new start offset value |
Creates a new extrapolation and connect it
- Parameters:
-
| [in] |
in_Pos |
Specifies where the extrapolation must be performed |
| [in] |
in_Type |
Type of extrapolation to create |
- Returns:
- Pointer to the newly created extrapolation or NULL if an extrapolation at
in_Pos already exists.
Returns one of the extrapolation
- Parameters:
-
| [in] |
in_Pos |
Specifies the extrapolation position to get |
- Returns:
- Pointer to the requested extrapolation or NULL if there is no extrapolation at the requested position
Sets one of the extrapolation position
- Parameters:
-
| [in] |
in_Pos |
The extrapolation position to set. |
| [in] |
in_pExtrapolation |
The extrapolation to put at the requested position |
- Warning:
- This method overwrites any existing extrapolation and might cause leaks. You either have to free previously allocated extrapolation or use the non-destructive CSLTimeControl::ConnectExtrapolation method instead.
- See also:
- CSLTimeControl::ConnectExtrapolation
Sets one of the extrapolation values if not already set
- Parameters:
-
| [in] |
in_Pos |
Specifies the extrapolation position to set |
| [in] |
in_pExtrapolation |
Extrapolation to connect |
- See also:
- CSLTimeControl::SetExtrapolation
Creates a new ClipToParent and connect it
- Returns:
- Pointer to the newly created ClipToParent or NULL if a ClipToParent already exists.
Returns the ClipToParent
- Returns:
- Pointer to the ClipToParent or NULL if is none
Sets one of the extrapolation position
- Parameters:
-
| [in] |
in_pXSIClipToParent |
The ClipToParent to set |
- Warning:
- This method overwrites existing ClipToParent and might cause leaks. You either have to free the previously allocated ClipToParent or use the non-destructive CSLTimeControl::ConnectExtrapolation method instead.
- See also:
- CSLTimeControl::ConnectClipToParent
Sets the ClipToParent values if not already set
- Parameters:
-
| [in] |
in_pClipToParent |
ClipToParent to connect |
- See also:
- CSLTimeControl::SetClipToParent
The documentation for this class was generated from the following file: