
See samples: ClearKeysOnSelectedModels.py, FCurveEditor.py.
Public Member Functions |
|
| FBFCurve () | |
| Constructor. |
|
| FBFCurve | CreateInterpolatorCurve (FBInterpolatorCurveType pCurveType) |
| Create and interpolator curve. |
|
| EditBegin (int pKeyCount=-1) | |
| Setup function to begin adding keys.
|
|
| EditClear () | |
| Empty FCurve of all keys. |
|
| EditEnd (int pKeyCount=-1) | |
| End key adding sequence. |
|
| float | Evaluate (FBTime pTime) |
| Evaluate FCurve at pTime. |
|
| int | KeyAdd (FBTime pTime, float pValue) |
| Add a key at the specified time. |
|
| KeyInsert (FBTime pTime, FBInterpolation pInterpolation=kFBInterpolationCubic, FBTangentMode pTangentMode=kFBTangentModeAuto) | |
| Insert a key without affecting the curve
shape. |
|
Public Attributes |
|
| FBListFCurveKey | Keys |
| List: Keys. |
|
| FBFCurve | ( | ) |
Constructor.
| FBFCurve CreateInterpolatorCurve | ( | FBInterpolatorCurveType | pCurveType | ) |
Create and interpolator curve.
| pCurveType | Interpolator curve type to create. |
| EditBegin | ( | int | pKeyCount = -1 |
) |
Setup function to begin adding keys.
| pKeyCount | Key to begin adding at(default is -1). |
| EditClear | ( | ) |
Empty FCurve of all keys.
| EditEnd | ( | int | pKeyCount = -1 |
) |
End key adding sequence.
| pKeyCount | Key to finish adding at (default is -1). |
Evaluate FCurve at pTime.
| pTime | Time at which FCurve is to be evaluated. |
Add a key at the specified time.
| pTime | Time at which to insert the key. | |
| pValue | Value of the key. |
| KeyInsert | ( | FBTime | pTime, | |
| FBInterpolation | pInterpolation =
kFBInterpolationCubic, |
|||
| FBTangentMode | pTangentMode =
kFBTangentModeAuto |
|||
| ) |
Insert a key without affecting the curve shape.
| pTime | Time at which the key is to be inserted. | |
| pInterpolation | Interpolation type of the inserted key. | |
| pTangentMode | Tangent calculation method of the inserted key. |
| FBListFCurveKey Keys |
List: Keys.
1.5.3