#include <XSIShapeAnimation.h>
Inheritance diagram for CSLXSIShapeAnimation:

Public Member Functions |
|
| CSLXSIShapeAnimation (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, EFCurveInterpolationType in_Type) | |
| CSLXSIShape * | AddXSIShape () |
| CSLXSIShape * | InsertXSIShape (SI_Int in_nIndex) |
| SI_Int | GetXSIShapeCount () |
| CSLXSIShape ** | XSIShapes () |
| SI_Error | RemoveXSIShape (SI_Int in_nIndex) |
| SI_Error | RemoveXSIShape (CSLXSIShape *in_pObject) |
| SI_Error | ClearXSIShapes () |
| CSLFCurve * | Animation () |
| CSLFCurve * | AddAnimation () |
| CSLActionClip * | GetFirstActionClipByShape (CSLXSIShape *in_pShape) |
| virtual SI_Error | Fix () |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
Describes a mesh shape animation for dotXSI 5.0+ (see the XSI_ShapeAnimation template reference).
| CSLXSIShapeAnimation | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate, | |||
| EFCurveInterpolationType | in_Type | |||
| ) |
Constructor
| [in] | in_pScene | Parent scene |
| [in] | in_pModel | Parent model |
| [in] | in_pTemplate | referred template |
| [in] | in_Type | Default interpolation type |
| CSLXSIShape* AddXSIShape | ( | ) |
Adds a new shape at the end of the animation.
| CSLXSIShape* InsertXSIShape | ( | SI_Int | in_nIndex | ) |
Inserts a new shape into the animation.
| [in] | in_nIndex | Index of insertion of the new shape. |
| SI_Int GetXSIShapeCount | ( | ) |
Returns the number of shapes in the animation.
| CSLXSIShape** XSIShapes | ( | ) |
Returns an array of all shapes in the animation.
| SI_Error RemoveXSIShape | ( | SI_Int | in_nIndex | ) |
Removes a single shape from the animation.
| [in] | in_nIndex | Index of the shape to remove. |
| SI_Error::SI_SUCCESS | The animation was removed | |
| SI_Error::SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveXSIShape | ( | CSLXSIShape * | in_pObject | ) |
Removes a single shape from the animation.
| [in] | in_pObject | Pointer to the shape to remove. |
| SI_Error::SI_SUCCESS | The animation was removed | |
| SI_Error::SI_ERR_BAD_ARGUMENT | Shape was not found |
| SI_Error ClearXSIShapes | ( | ) |
Removes all shapes from the shape animation.
| SI_Error::SI_SUCCESS |
| CSLFCurve* Animation | ( | ) |
Returns the fcurve containing the animation of the shape.
| CSLFCurve* AddAnimation | ( | ) |
Verifies if we have an animation fcurve, if not, it creates the template of the fcurve, creates the semantic layer object of the fcurve and connect it to the template.
| CSLActionClip* GetFirstActionClipByShape | ( | CSLXSIShape * | in_pShape | ) |
Returns the first action clip that uses this shape as a source.
| [in] | in_pShape | Shape source for finding action clip |
| virtual SI_Error Fix | ( | ) | [virtual] |
Cleans invalid data from the template.
Reimplemented from CSLTemplate.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes to ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
Reimplemented in CSLCOLLADAShapeAnimation.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::XSI_SHAPE_ANIMATION | Template type |
Implements CSLTemplate.