FCurve

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

AddKey

BeginEdit

EndEdit

Eval

ExtendCycle

Fit

GetKey

GetKeyAtIndex

GetKeyFrame

GetKeyIndex

GetKeysBetween

GetKeyValue

GetMaxKeyFrame

GetMaxKeyValue

GetMidKeyFrame

GetMidKeyValue

GetMinKeyFrame

GetMinKeyValue

GetNumKeys

InsertKeyAtFrame

IsClassOf

IsEditing

IsEqualTo

KeyExists

MakeRotationsContinuous

Offset

OffsetKeys

RemoveKey

RemoveKeyAtIndex

RemoveKeys

RemoveKeysAtIndex

Resample

Scale

ScaleKeys

Set

SetKey

SetKeys

SetKeyTangents

Smooth

SnapToNearestFrame

UndoEdit

 

 

 

Properties

Application

Categories

DependsOnFrameRate

Extrapolation

FullName

Help

HighClamp

Interpolation

Keys

Locked

LowClamp

Mute

Name

NestedObjects

NoKeyValue

Origin

OriginPath

Parent

Selected

SelectedKeys

SI3DStyle

Type

Type

 

See Also

FCurveKey

FCurveKeyCollection

Parameter.AddFCurve

GetFCurveInfo

Parameter

AnimationSourceItem

Parameter.Max

Parameter.Source

CustomProperty.AddFCurveParameter

PPGLayout.AddFCurve

Sequence

ScaleAndOffset

ActivateFCurve

CopyAnimation

About FCurves

 

Examples

• See FCurve.1.js

• See FCurve.2.vbs

• See FCurve.3.vbs



Autodesk Softimage 2011