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

 

SAA_actionMarkerGetStartEndFrames()

SAA_actionMarkerSetStartEndFrames()

Gets or sets the start and end frames of a set of action markers in an .ani element.

set scene [SAA_AllocScene]
set action [SAA_AllocElem]
.
.
set nbMarkers [ SAA_actionGetNbActionMarkers $scene $asction nbMarkers ]
set markers [ SAA_AllocSubElem $nbMarkers ]
set startFrames [ SAA_allocInt $nbMarkers ]
set stopFrames [ SAA_allocInt $nbMarkers ]
SAA_actionMarkerGetStartEndFrames $scene $action $nbMarkers $markers $startFrames $stopFrames

SAA_actionMarkerSetStartEndFrames $scene $action $nbMarkers $markers $startFrames $stopFrames

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().
startFrames
An array containing the first frames of the action markers.
endFrames
An array containing the last frames of the action markers. The last frame is based on the total length of an action marker, including any cycles.

See Also



[Top] [Up] [Prev] [Next] [Bottom]



SOFTIMAGE|SDK v1.8 - SAAPHIRE Developer's Guide & Reference Manual - 06/03/98

Copyright © 1998 Microsoft Corporation. All rights reserved.

SAA Index ] Examples SAA calls index ]

copyright Video-Collage Inc.