|
|
|
SWC_fcurveGetGet fcurves SWC_fcurveGet is a library procedure allows users to get fcurves for particular attribute of the element presenting in context passed to the procedure. Input data is a context array name and attribute's name. package require SWC SWC_fcurveGet context attribute
Return ValueIf SWC_fcurveCreate succeeds, it returns the ID of the fcurve of the specified attribute or a list of fcurves ID if there is more then one fcurve for the specified attribute. The fcurves of the list are in the same order as they appear in the attributes tables. Fcurve ID can be passed to any SAA function which takes a pointer to fcurve (SAA_Elem) as a parameter. If this procedure encounters an error it will return an error string message in the TK console window. Examples
brings up SWC widgets to select allocate and load an element and corresponding information, such as database resource file name, database and scene. Call the SWC_fcurveGet function to get fcurves of the attribute Position for the element presenting in MyContext. Call the SAA_fcurveGetNbKeys to get the number of keys for the first fcurve, which describes the x coordinate of the element's position. See Also
|
|
copyright Video-Collage Inc. |