|
|
|
SWC_fcurveCreateCreate fcurves SWC_fcurveCreate is a library procedure that allows users to create fcurves for a particular attribute of an element contained in the context passed to the procedure. Input data is a context array name and attribute's name. package require SWC SWC_fcurveCreate 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. If the context is not of an element which has the specified attribute it is an error. 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_fcurveCreate function to create fcurves of the attribute Position for the element presenting in MyContext. Save the scene presenting in MyContext See Also
|
|
copyright Video-Collage Inc. |