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

 

SAA_animationItemGetSourceFcurves()

Gets the source function curves from the animation items of an .ani element.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
SAA_actionGetNbAnimationItems $scene $action $SAA_Constants(SAA_ANIMITEM_FCURVE) nbItems 
set items [ SAA_AllocSubElem $nbFcurveItems ]
SAA_actionGetAnimationItems $scene $anim $nbItems $items
set fcurves [ SAA_AllocElem $nbItems ] 
SAA_animationItemGetSourceFcurves $scene $anim $nbItems $items $fcurves

Parameters

anim
An .ani element. To get an .ani element, use SAA_elementGetAction().
nbItems
The number of animation items in items. To get the number of animation items of a particular type in an .ani element, use SAA_actionGetNbAnimationItems().
items
An array of animation items of type SAA_ANIMITEM_FCURVE. To get the type of an animation item, use SAA_animationItemGetTypes(). To get the animation items of a particular type in an .ani element, use SAA_actionGetAnimationItems().
fcurves
Returns an array containing the source function curves of the animation items.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.