Language

BounceInterpolator.GetInterpolation(Single) Method

Definition

Maps an elapsed animation fraction to an interpolated fraction.

[Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler")]
public override float GetInterpolation(float t);
[<Android.Runtime.Register("getInterpolation", "(F)F", "GetGetInterpolation_FHandler")>]
override this.GetInterpolation : single -> single

Parameters

t
Single

A value between 0 and 1.0 indicating our current point in the animation where 0 represents the start and 1.0 represents the end

Returns

The interpolation value, which can be greater than 1.0 for overshoot interpolators or less than 0 for undershoot interpolators.

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to