The Animation Curve Editor

The Animation Curve EditorAn animation curve is an asset that contains one or more curves that represent how a value changes over time, and can use linear interpolation, smooth interpolation or bezier interpolation to go between different points in the curve. The values you set on the vertical axis can be between any two values (between -1 and 1 by default) and the duration along the horizontal axis is always normalised from 0 to 1, making it easy to target different time ranges using multipliers in your game code or stretch them to fit a track in the Sequences Editor.

Animation curves are comprised of "channels" and each channel can have its own curve settings, which permits you to - for example - describe a spatial position with two channels for the x/y location, or a colour gradient with 4 channels to represent a colour format. Animation curve assets can be used when working with Sequences and can also be accessed using code, making them a powerful tool when creating your games.

When you first create an animation curve asset the editor window will open and present you with the following sections:

Curve Name

Curve Library

Channel List

Channel Range

Channel Editor

Zoom Controls

 

For information on the different Runtime functions that can be used along with animation curves, please see the following section of the manual: