Object Hierarchy | Related C++ Class: FCurve
Inheritance
SIObject
AnimationSource
FCurve
Introduced
1.0
Description
The FCurve (function curve) object provides access to a set of functions for getting and setting Softimage fcurve attributes, as well as creating, retrieving, modifying and deleting fcurve keys.
FCurves can be created and connected to parameters using the Parameter.AddFCurve and Parameter.AddFCurve2 methods. To access an existing FCurve on a Parameter, use the Parameter.Source method. FCurves are supported by the following parameter types: siDouble, siFloat, siInt4, siInt2, siByte, siUInt4, siUInt2 and siUByte (see siVariantType for definitions of these types).
When defining FCurveKeys, the key value is coerced to meet the key value's type criteria. For boolean and integer fcurves, the values supplied are rounded. For example, if you provide the value 3.5 to an integer fcurve, it is rounded down to 3. For boolean fcurves, non-zero values are interpreted as true. SIObject.Parent returns the parent of the fcurve. For fcurves connected to parameters, the Parameter object is considered to be the parent. For fcurves contained by ActionSource objects the parent is the AnimationSourceItem object.
Note: For more information about interpolation and extrapolation for fcurves, see FCurve Interpolation and Extrapolation
Methods
|
|
|
|
Properties
|
|
See Also
|
|
Examples
• See FCurve.1.js
• See FCurve.2.vbs
• See FCurve.3.vbs
Autodesk Softimage 2011