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

 

SAA_animationItemGetTargetTracknames()

Gets the names of the target tracks of the animation items of an .ani element.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
SAA_actionGetNbAnimationItems $scene $action $SAA_Constants(SAA_ANIMITEM_TYPES) nbItems 
set items [ SAA_AllocSubElem $nbItems ]
SAA_actionGetAnimationItems $scene $anim $nbItems $items
set lengths [ SAA_AllocInt $nbItems ] 
SAA_animationItemGetTargetTracknameLengths $scene $anim $nbItems $items $lengths

set names [ SWU_emptyStringList nameLengths TRUE ]

SAA_animationItemGetTargetTracknames $scene $anim $nbItems $items $lengths $names

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 of a particular type in an .ani element, use SAA_actionGetNbAnimationItems().
items
An array of animation items of type SAA_ANIMITEM_FCURVE or SAA_ANIM_ITEM_STATICVALUE. To get the animation items of a particular type in an .ani element, use SAA_actionGetAnimationItems(). To get the types of animation items, use SAA_animationItemGetTypes().
length
An array containing the lengths of the target track names. To get these numbers, use SAA_animationItemGetTargetTracknameLengths().
names
Returns an array containing the names of the target tracks of the animation items.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.