Click or drag to resize

Interpolate Methods

The Interpolate type exposes the following members.

Methods
  NameDescription
Public methodStatic memberEase(InterpolateEaseType, Single, Single, Single, Single)
Interpolation using given easing method.
Public methodStatic memberEase(InterpolateEaseType, Vector3, Vector3, Single, Single)
Vector3 interpolation using given easing method. Easing is done independently on all three vector axis.
Public methodStatic memberEase(InterpolateFunction, Vector3, Vector3, Single, Single)
Vector3 interpolation using given easing method. Easing is done independently on all three vector axis.
Public methodStatic memberEaseDistance(InterpolateEaseType, Single, Single, Single, Single)
Interpolation using given easing method.
Public methodStatic memberEaseDistance(InterpolateEaseType, Vector3, Vector3, Single, Single)
Vector3 interpolation using given easing method. Easing is done independently on all three vector axis.
Public methodStatic memberEaseDistance(InterpolateFunctionDistance, Vector3, Vector3, Single, Single)
Vector3 interpolation using given easing method. Easing is done independently on all three vector axis.
Public methodStatic memberEaseInCircular
Circular easing in - accelerating from zero velocity
Public methodStatic memberEaseInCircularDistance
Circular easing in - accelerating from zero velocity
Public methodStatic memberEaseInCubic
Cubic easing in - accelerating from zero velocity
Public methodStatic memberEaseInCubicDistance
Cubic easing in - accelerating from zero velocity
Public methodStatic memberEaseInExponential
Exponential easing in - accelerating from zero velocity
Public methodStatic memberEaseInExponentialDistance
Exponential easing in - accelerating from zero velocity
Public methodStatic memberEaseInOutCircular
Circular easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutCircularDistance
Circular easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutCubic
Cubic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutCubicDistance
Cubic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutExponential
Exponential easing in/out - accelerating until halfway, then decelerating
Public methodStatic memberEaseInOutExponentialDistance
Exponential easing in/out - accelerating until halfway, then decelerating
Public methodStatic memberEaseInOutQuad
Quadratic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutQuadDistance
Quadratic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutQuart
Quartic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutQuartDistance
Quartic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutQuint
Quintic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutQuintDistance
Quintic easing in/out - acceleration until halfway, then deceleration
Public methodStatic memberEaseInOutSine
Sinusoidal easing in/out - accelerating until halfway, then decelerating
Public methodStatic memberEaseInOutSineDistance
Sinusoidal easing in/out - accelerating until halfway, then decelerating
Public methodStatic memberEaseInQuad
Quadratic easing in - accelerating from zero velocity
Public methodStatic memberEaseInQuadDistance
Quadratic easing in - accelerating from zero velocity
Public methodStatic memberEaseInQuart
Quartic easing in - accelerating from zero velocity
Public methodStatic memberEaseInQuartDistance
Quartic easing in - accelerating from zero velocity
Public methodStatic memberEaseInQuint
Quintic easing in - accelerating from zero velocity
Public methodStatic memberEaseInQuintDistance
Quintic easing in - accelerating from zero velocity
Public methodStatic memberEaseInSine
Sinusoidal easing in - accelerating from zero velocity
Public methodStatic memberEaseInSineDistance
Sinusoidal easing in - accelerating from zero velocity
Public methodStatic memberEaseOutCircular
Circular easing out - decelerating to zero velocity
Public methodStatic memberEaseOutCircularDistance
Circular easing out - decelerating to zero velocity
Public methodStatic memberEaseOutCubic
Cubic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutCubicDistance
Cubic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutExponential
Exponential easing out - decelerating to zero velocity
Public methodStatic memberEaseOutExponentialDistance
Exponential easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuad
Quadratic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuadDistance
Quadratic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuart
Quartic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuartDistance
Quartic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuint
Quintic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutQuintDistance
Quintic easing out - decelerating to zero velocity
Public methodStatic memberEaseOutSine
Sinusoidal easing out - decelerating to zero velocity
Public methodStatic memberEaseOutSineDistance
Sinusoidal easing out - decelerating to zero velocity
Public methodStatic memberCode exampleGetEaseDistanceFunction
Returns the static method that implements the given easing type for scalars. Use this method to easily switch between easing interpolation types. All easing methods clamp elapsedTime so that it is always greater than or equal to duration.
Public methodStatic memberCode exampleGetEaseFunction
Returns the static method that implements the given easing type for scalars. Use this method to easily switch between easing interpolation types. All easing methods clamp elapsedTime so that it is always greater than or equal to duration.
Public methodStatic memberLinear
Linear interpolation (same as Mathf.Lerp)
Public methodStatic memberLinearDistance
Linear interpolation (same as Mathf.Lerp)
Public methodStatic memberNewBezier(InterpolateFunction, Transform, Int32)
Instead of interpolating based on time, generate n interpolated points (slices) between the first and last node.
Public methodStatic memberNewBezier(InterpolateFunction, Transform, Single)
Returns sequence generator from the first node to the last node over duration time using the points in-between the first and last node as control points of a bezier curve used to generate the interpolated points in the sequence. If there are no control points (ie. only two nodes, first and last) then this behaves exactly the same as NewEase(). In other words a zero-degree bezier spline curve is just the easing method. The sequence is generated as it is accessed using the Time.deltaTime to calculate the portion of duration that has elapsed.
Public methodStatic memberNewBezier(InterpolateFunction, Vector3, Int32)
A Vector3[] variation of the Transform[] NewBezier() function. Same functionality but using Vector3s to define bezier curve.
Public methodStatic memberNewBezier(InterpolateFunction, Vector3, Single)
A Vector3[] variation of the Transform[] NewBezier() function. Same functionality but using Vector3s to define bezier curve.
Public methodStatic memberNewCatmullRom(Transform, Int32, Boolean)
Returns sequence generator from the first node, through each control point, and to the last node. N points are generated between each node (slices) using Catmull-Rom.
Public methodStatic memberNewCatmullRom(Vector3, Int32, Boolean)
A Vector3[] variation of the Transform[] NewCatmullRom() function. Same functionality but using Vector3s to define curve.
Public methodStatic memberNewEase(InterpolateFunction, Vector3, Vector3, Int32)
Instead of easing based on time, generate n interpolated points (slices) between the start and end positions.
Public methodStatic memberNewEase(InterpolateFunction, Vector3, Vector3, Single)
Returns sequence generator from start to end over duration using the given easing function. The sequence is generated as it is accessed using the Time.deltaTime to calculate the portion of duration that has elapsed.
Public methodStatic memberTryScheduleEaseJob
Perform an interpolation calculation on another thread with whatever EaseType you like. You are responsible for handling the NativeArray allocations / deallocations, and completing the job. This will only schedule the job for you.
Public methodStatic memberTryScheduleParallelEaseJob
Use this method to setup an ease job for whatever EaseType you like. You are responsible for handling the NativeArray allocations / deallocations, and completing the job. This will only schedule the job for you.
Top
See Also