SAA_animationItemGetTypes()
Gets the types of the animation items of an .ani element.
set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
SAA_actionGetNbAnimationItems $scene $action $SAA_Constants(SAA_ANIMITEM_TYPE) nbItems
set items [ SAA_AllocSubElem $nbItems ]
SAA_actionGetAnimationItems $scene $anim $nbItems $items
set types [ SAA_AllocFloat $nbItems ]
SAA_animationItemGetTypes $scene $anim $nbItems $items $types
Parameters
- anim
- An .ani element. To get an .ani element, use SAA_elementGetAction().
- nbItems
- The number of animation items in items. To get the total number of animation
items in an .ani element, use SAA_actionGetNbAnimationItems().
- items
- An array of animation items. To get the animation items of an .ani
element, use SAA_actionGetAnimationItems().
- types
- Returns an array containing the types of the animation items. Possible values are:
- AA_ANIMITEM_FCURVE for keyframed parameters.
- SAA_ANIMITEM_STATICVALUE for non-keyframed parameters.
- SAA_ANIMITEM_GEOMETRY for shape animation.
See Also
|