---
title: Interpolator
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/interpolator
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unity/animations/interpolator.md
last_updated: 2026-11-30
generated_at: 2026-11-30T20:38:38.981Z
locale: en-us
---

# Interpolator

> Easing functions that remap a value between 0 and 1 along a curve.

## Definition

* **Type:** Class
* **Namespace:** [Unity.Animations](/engine/7000.0/script-reference/unity/animations.md)
* **Assembly:** [UnityEngine.AnimationCoreModule](/engine/7000.0/script-reference/modules/unityengine-animationcoremodule.md)

```csharp
[BurstCompile]
public static class Interpolator
```

## Remarks

An easing function remaps an input value from 0 to 1 to an output value from 0 to 1, and its curve controls how fast the output changes. Each function maps the input 0 to the output 0, and the input 1 to the output 1.

Ease-in functions, such as [Interpolator.QuadraticIn](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticin.md), start slowly and accelerate. Ease-out functions, such as [Interpolator.QuadraticOut](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticout.md), start quickly and slow down. Ease-in-out functions, such as [Interpolator.QuadraticInOut](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticinout.md), start and end slowly. The sine-based functions, [Interpolator.SineIn](/engine/7000.0/script-reference/unity/animations/interpolator/sinein.md), [Interpolator.SineOut](/engine/7000.0/script-reference/unity/animations/interpolator/sineout.md), and [Interpolator.SineInOut](/engine/7000.0/script-reference/unity/animations/interpolator/sineinout.md), use a fast approximation of the sine and cosine functions.

Call [Interpolator.Evaluate](/engine/7000.0/script-reference/unity/animations/interpolator/evaluate.md) to choose the function with a [Interpolator.FunctionType](/engine/7000.0/script-reference/unity/animations/interpolator/functiontype.md) value. `Evaluate` clamps its input to the range from 0 to 1. The individual functions don't clamp their input, and some are only valid for a smaller or larger range, which their remarks list.

## Static Methods

| Method                                                                                                | Description                                                                                                                                                                   |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CircularIn](/engine/7000.0/script-reference/unity/animations/interpolator/circularin.md)             | Interpolation function modeled after shifting quadrant IV of a unit circle.                                                                                                   |
| [CircularInOut](/engine/7000.0/script-reference/unity/animations/interpolator/circularinout.md)       | Interpolation function modeled after the piecewise circular function: y = (1/2)(1 - sqrt(1 - 4x^2))           : \[0, 0.5] y = (1/2)(sqrt(-(2x - 3)\*(2x - 1)) + 1) : (0.5, 1] |
| [CircularOut](/engine/7000.0/script-reference/unity/animations/interpolator/circularout.md)           | Interpolation function modeled after shifting quadrant II of a unit circle.                                                                                                   |
| [CubicIn](/engine/7000.0/script-reference/unity/animations/interpolator/cubicin.md)                   | Interpolation function modeled after the cubic y = x^3.                                                                                                                       |
| [CubicInOut](/engine/7000.0/script-reference/unity/animations/interpolator/cubicinout.md)             | Interpolation function modeled after the piecewise cubic: y = (1/2)((2x)^3)               : \[0, 0.5] y = (1/2)(1 + (1-(1-(2x-1))^3)) : (0.5, 1]                              |
| [CubicOut](/engine/7000.0/script-reference/unity/animations/interpolator/cubicout.md)                 | Interpolation function modeled after the cubic y = 1 + (x - 1)^3.                                                                                                             |
| [Evaluate](/engine/7000.0/script-reference/unity/animations/interpolator/evaluate.md)                 | Interpolates value of x based on specified interpolation function type.                                                                                                       |
| [ExponentialIn](/engine/7000.0/script-reference/unity/animations/interpolator/exponentialin.md)       | Interpolation function modeled after the exponential y = 2^(10(x - 1)).                                                                                                       |
| [ExponentialInOut](/engine/7000.0/script-reference/unity/animations/interpolator/exponentialinout.md) | Interpolation function modeled after the piecewise exponential y = (1/2)2^(10(2x - 1))         : \[0, 0.5] y = -(1/2)\*2^(-10(2x - 1)) + 1  : (0.5, 1]                        |
| [ExponentialOut](/engine/7000.0/script-reference/unity/animations/interpolator/exponentialout.md)     | Interpolation function modeled after the exponential y = 1 - 2^(-10x).                                                                                                        |
| [Linear](/engine/7000.0/script-reference/unity/animations/interpolator/linear.md)                     | Interpolation function modeled after the line y = x.                                                                                                                          |
| [QuadraticIn](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticin.md)           | Interpolation function modeled after the parabola y = x^2.                                                                                                                    |
| [QuadraticInOut](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticinout.md)     | Interpolation function modeled after the piecewise quadratic: y = (1/2)((2x)^2)               : \[0, 0.5] y = (1/2)(1 + (1-(1-(2x-1))^2)) : (0.5, 1]                          |
| [QuadraticOut](/engine/7000.0/script-reference/unity/animations/interpolator/quadraticout.md)         | Interpolation function modeled after the parabola y = 1 - (1 - x)^2.                                                                                                          |
| [QuarticIn](/engine/7000.0/script-reference/unity/animations/interpolator/quarticin.md)               | Interpolation function modeled after the quartic y = x^4.                                                                                                                     |
| [QuarticInOut](/engine/7000.0/script-reference/unity/animations/interpolator/quarticinout.md)         | Interpolation function modeled after the piecewise quartic: y = (1/2)((2x)^4)               : \[0, 0.5] y = (1/2)(1 + (1-(1-(2x-1))^4)) : (0.5, 1]                            |
| [QuarticOut](/engine/7000.0/script-reference/unity/animations/interpolator/quarticout.md)             | Interpolation function modeled after the quartic y = 1 - (x - 1)^4.                                                                                                           |
| [QuinticIn](/engine/7000.0/script-reference/unity/animations/interpolator/quinticin.md)               | Interpolation function modeled after the quintic y = x^5.                                                                                                                     |
| [QuinticInOut](/engine/7000.0/script-reference/unity/animations/interpolator/quinticinout.md)         | Interpolation function modeled after the piecewise quintic: y = (1/2)((2x)^5)               : \[0, 0.5] y = (1/2)(1 + (1-(1-(2x-1))^5)) : (0.5, 1]                            |
| [QuinticOut](/engine/7000.0/script-reference/unity/animations/interpolator/quinticout.md)             | Interpolation function modeled after the quintic y = 1 + (x - 1)^5.                                                                                                           |
| [SineIn](/engine/7000.0/script-reference/unity/animations/interpolator/sinein.md)                     | Interpolation function modeled after the quarter-cycle of a shifted sine wave.                                                                                                |
| [SineInOut](/engine/7000.0/script-reference/unity/animations/interpolator/sineinout.md)               | Interpolation function modeled after a half sine wave.                                                                                                                        |
| [SineOut](/engine/7000.0/script-reference/unity/animations/interpolator/sineout.md)                   | Interpolation function modeled after the quarter-cycle of a shifted sine wave.                                                                                                |
| [SmoothStep](/engine/7000.0/script-reference/unity/animations/interpolator/smoothstep.md)             | Interpolation function modeled after the smoothstep curve y = 3x^2 - 2x^3.                                                                                                    |

## Enums

| Enum                                                                                                       | Description                                              |
| ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| [Interpolator.FunctionType](/engine/7000.0/script-reference/unity/animations/interpolator/functiontype.md) | Options for the easing curve that is applied to a value. |
