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

 

SAA_actionMarkerGetTotalLengths()

Returns the total lengths of a set of animation markers in an .ani element. The total length of an action marker is the cycle length multiplied by the number of cycles.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
SAA_actionGetNbActionMarkers $scene $action nbMarkers
set markers [ SAA_AllocSubElem $nbMarkers ]
.
.
set totalLengths [ SAA_AllocInt $nbMarkers ]
SI_Error SAA_actionMarkerGetTotalLengths $scene $action $nbMarkers $markers $totalLengths

Parameters

action
An .ani element. To get an .ani element, use SAA_elementGetAction().
nbMarkers
The number of action markers in markers. To get the total number of action markers of an element, use SAA_actionGetNbActionMarkers().
markers
An array of action markers. To get the action markers of an element, use SAA_actionGetActionMarkers().
totLengths
An array containing the total lengths in frames of each of the action markers.

See Also

 

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.