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

 

SAA_actionMarkerGetCycleLengths()

SAA_actionMarkerSetCycleLengths()

Gets or sets the lengths of single cycles for a set of action markers in an .ani element. In the Spreadsheet window, this corresponds to choosing Actions from the QUERIES menu, then setting the number of frames in the ActLength column.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
set markers [ SAA_AllocSubElem $nbMarkers ]
set cycleLengths [ SAA_AllocInt $nbMarkers ]

SAA_actionMarkerGetCycleLengths $scene $action $nbMarkers $markers $cycleLengths
SAA_actionMarkerSetCycleLengths $scene $action $nbMarkers $markers $cycleLengths
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().
cycleLengths
An array containing the lengths in frames of a single cycle of each of the action markers.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.