FCurve(bpy_struct)

base class — bpy_struct

class bpy.types.FCurve(bpy_struct)

F-Curve defining values of a period of time

array_index

Index to the specific property affected by F-Curve if applicable

Type :int in [-inf, inf], default 0
color

Color of the F-Curve in the Graph Editor

Type :float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
color_mode

Method used to determine color of F-Curve in Graph Editor

Type :enum in [‘AUTO_RAINBOW’, ‘AUTO_RGB’, ‘CUSTOM’], default ‘AUTO_RAINBOW’
data_path

RNA Path to property affected by F-Curve

Type :string, default “”, (never None)
driver

Channel Driver (only set for Driver F-Curves)

Type :Driver, (readonly)
extrapolation
Type :enum in [‘CONSTANT’, ‘LINEAR’], default ‘CONSTANT’
group

Action Group that this F-Curve belongs to

Type :ActionGroup
hide

F-Curve and its keyframes are hidden in the Graph Editor graphs

Type :boolean, default False
is_valid

False when F-Curve could not be evaluated in past, so should be skipped when evaluating

Type :boolean, default False
keyframe_points

User-editable keyframes

Type :FCurveKeyframePoints bpy_prop_collection of Keyframe, (readonly)
lock

F-Curve’s settings cannot be edited

Type :boolean, default False
modifiers

Modifiers affecting the shape of the F-Curve

Type :FCurveModifiers bpy_prop_collection of FModifier, (readonly)
mute

F-Curve is not evaluated

Type :boolean, default False
sampled_points

Sampled animation data

Type :bpy_prop_collection of FCurveSample, (readonly)
select

F-Curve is selected for editing

Type :boolean, default False
evaluate(frame)

Evaluate F-Curve

Parameters:frame (float in [-inf, inf]) – Frame, Evaluate F-Curve at given frame
Returns:Position, F-Curve position
Return type:float in [-inf, inf]
range()

Get the time extents for F-Curve

Returns:Range, Min/Max values
Return type:float array of 2 items in [-inf, inf]

Inherited Properties

Inherited Functions

References

Previous topic

ExpressionController(Controller)

Next topic

FCurveKeyframePoints(bpy_struct)