SAA_animationItemGetTargetTracknameLengths()
Gets the name lengths 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_TYPE) nbItems
set items [ SAA_AllocSubElem $nbItems ]
SAA_actionGetAnimationItems $scene $anim $nbItems $items
set lengths [ SAA_AllocInt $nbItems ]
SAA_animationItemGetTargetTracknameLengths $scene $anim $nbItems $items $lengths
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
- Returns an array containing the the lengths of the names. This function returns the
number of characters including the terminating null character.
See Also
|