Curves
Curves
¶
The five curves of a Curves effect.
Read-only: py-aep does not write curves back to the project, and reads them from one (Property.value or Keyframe.value).
Attributes¶
is_identity
¶
is_identity: bool
Whether every curve leaves every level unchanged, as an untouched Curves does.
uses_points
¶
uses_points: bool
Whether the curves go through their points; if not, they were drawn with the pencil and their maps are what renders.
Functions¶
evaluate
¶
One channel's curve at x in 0..1, on its own (not through the
master): the spline through its points, or its map read linearly
when drawn with the pencil. Clamped to 0..1 unless clamp is
False, which leaves the spline's overshoot between the points.
Raises:
-
ValueError–If
channelis not one ofCURVES_CHANNELS, orxis not a finite number.