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

 

SAA_actionMarkerGetNbCycles()

SAA_actionMarkerSetNbCycles()

Gets or sets the number of 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 cycles in the ActNoCycles column.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
set nbMarkers [ SAA_actionGetNbActionMarkers $scene $asction nbMarkers ]
set markers [ SAA_AllocSubElem $nbMarkers ]
set nbCycles [ SAA_AllocInt $nbMarkers ]
SAA_actionMarkerGetNbCycles $scene $action $nbMarkers $markers $nbCycles

SAA_actionMarkerSetNbCycles $scene $action $nbMarkers $markers $nbCycles

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().
nbCycles
An array containing the number of cycles for each of the action markers.

See Also

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.