vcanim.gif (8357 bytes)SAA_actionGetNbAnimationItems()
Home ] Sales ] Products ] Services ] Support ] Downloads ]

 


SAA_actionGetNbAnimationItems()

Gets the number of animation items of the specified type in the .ani element.

set scene [SAA_AllocScene]
set anim [SAA_AllocElem]
.
.
SAA_actionGetNbAnimationItems $scene $anim $SAA_Constants(SAA_ANIMITEM_TYPE) nbItems

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
Returns the number of animation items of the specified type.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.