|
SAA_actionGetAnimationItems()
Gets the animation items of the specified type in an .ani element.
set scene [SAA_AllocScene]
set anim [SAA_AllocElem]
.
.
set int [ SAA_actionGetNbActionMarkers $scene $anim nbItems . . .
set items [SAA_AllocElem $nbItems]
SAA_actionGetAnimationItems $scene $anim $nbItems $items
Parameters
- anim
- An .ani element. To get an .ani element, use SAA_elementGetAction().
- type
- The type of animation item. Possible values, which are in the SAA_Constants global
array. are:
- SAA_ANIMITEM_FCURVE for keyframed parameters.
- SAA_ANIMITEM_STATICVALUE for non-keyframed parameters.
- SAA_ANIMITEM_GEOMETRY for shape animation.
- SAA_ANIMITEM_ALL (includes all the above types).
- nbItems
- The number of animation items to retrieve. To get the total number of animation items of
a given type in an .ani element, use SAA_actionGetNbAnimationItems().
- items
- Returns an array containing the animation items of the .ani element.
|