CSLTimeControl Class Reference
Stores the clipping and offset parameters of an action clip (CSLActionClip).
More...#include <TimeControl.h>
Inheritance diagram for CSLTimeControl:
List of all members.
Detailed Description
Stores the clipping and offset parameters of an action clip (CSLActionClip).
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
Gets the type of this template
- Return values:
-
Implements CSLTemplate.
Synchronize will ensure that the animated parameter is up to date.
- Returns:
- SI_Error Error code
Reimplemented from CSLTemplate.
Gets 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:
-
Gets 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:
-
Gets the scaling of the clip in time.
- Returns:
- SI_Float The scale value
| SI_Void SetScale |
( |
SI_Float |
in_fNew |
) |
|
Sets The scaling of the clip in time.
- Parameters:
-
- Note:
- Increasing this value speeds up the relative time of the clip, decreasing the duration.
| SI_Float GetStartOffset |
( |
|
) |
|
Gets the frame where the clip starts in the local time of the CSLActionClip.
- Returns:
- SI_Float 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_fNew |
The new start offset value |
Creates a new extrapolation and connect it
- Parameters:
-
|
|
in_Pos |
Specifies where the extrapolation must be performed |
|
|
in_Type |
Type of extrapolation to create |
- Return values:
-
|
|
CSLExtrapolation |
Pointer to the newly created extrapolation. |
|
|
NULL |
An extrapolation at in_Pos already exists. |
Gets one of the extrapolation
- Parameters:
-
|
|
in_Pos |
Specifies the extrapolation position to get |
- Return values:
-
|
|
Pointer |
to the requested extrapolation |
|
|
NULL |
There is no extrapolation at the requested position |
Sets one of the extrapolation position
- Parameters:
-
|
|
in_Pos |
The extrapolation position to set. |
|
|
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_Pos |
Specifies the extrapolation position to set |
|
|
in_pExtrapolation |
Extrapolation to connect |
- See also:
- CSLTimeControl::SetExtrapolation
Creates a new ClipToParent and connect it
- Return values:
-
|
|
CSLXSIClipToParent |
Pointer to the newly created ClipToParent. |
|
|
NULL |
An ClipToParent already exists. |
Gets the ClipToParent
- Return values:
-
|
|
Pointer |
to the ClipToParent |
|
|
NULL |
There is no ClipToParent |
Sets one of the extrapolation position
- Parameters:
-
|
|
in_pClipToParent |
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_pClipToParent |
ClipToParent to connect |
- See also:
- CSLTimeControl::SetClipToParent
The documentation for this class was generated from the following file: