C# Класс geek.GameEngine.AnimatedProperties.Interpolate

The class that provides common interpolation patterns for a value in a range.
Показать файл Открыть проект

Открытые методы

Метод Описание
BackBoth ( float min, float max, float tweenState ) : float

Smoothly interpolate a value, retracking back a bit on both start and end.

BackIn ( float min, float max, float tweenState ) : float

Smoothly interpolate a value, retracking back a bit on start.

BackOut ( float min, float max, float tweenState ) : float

Smoothly interpolate a value, overshooting and retracking back a bit on end.

Bounce ( float min, float max, float tweenState ) : float

Smoothly interpolate the value, bouncing a few times at the end.

EaseBothHard ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with quartic easing on both points.

EaseBothMedium ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with cubic easing on both points.

EaseBothSoft ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with quadratic easing on both points.

EaseInHard ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with quartic easing in.

EaseInMedium ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with cubic easing in.

EaseInSoft ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with square easing in.

EaseOutHard ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with quartic easing out.

EaseOutMedium ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with cubic easing out.

EaseOutSoft ( float min, float max, float tweenState ) : float

Smoothly interpolate a value with quadratic easing out.

Elastic ( float min, float max, float tweenState ) : float

Smoothly interpolate the object, having a few ripples at the end.

GetMethod ( InterpolationMode mode ) : InterpolationMethod

Get appropriate method for an interpolation mode.

Linear ( float min, float max, float tweenState ) : float

Linearly interpolate a value between two points:

SinePulse ( float state, float amount, float tweenState ) : float

Pulse around a value using sine waveform.

SinePulseBack ( float state, float amount, float tweenState ) : float

Pulse around a value using inverse sine waveform.

Описание методов

BackBoth() публичный статический Метод

Smoothly interpolate a value, retracking back a bit on both start and end.
public static BackBoth ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

BackIn() публичный статический Метод

Smoothly interpolate a value, retracking back a bit on start.
public static BackIn ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

BackOut() публичный статический Метод

Smoothly interpolate a value, overshooting and retracking back a bit on end.
public static BackOut ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

Bounce() публичный статический Метод

Smoothly interpolate the value, bouncing a few times at the end.
public static Bounce ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseBothHard() публичный статический Метод

Smoothly interpolate a value with quartic easing on both points.
public static EaseBothHard ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseBothMedium() публичный статический Метод

Smoothly interpolate a value with cubic easing on both points.
public static EaseBothMedium ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseBothSoft() публичный статический Метод

Smoothly interpolate a value with quadratic easing on both points.
public static EaseBothSoft ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseInHard() публичный статический Метод

Smoothly interpolate a value with quartic easing in.
public static EaseInHard ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseInMedium() публичный статический Метод

Smoothly interpolate a value with cubic easing in.
public static EaseInMedium ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseInSoft() публичный статический Метод

Smoothly interpolate a value with square easing in.
public static EaseInSoft ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseOutHard() публичный статический Метод

Smoothly interpolate a value with quartic easing out.
public static EaseOutHard ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseOutMedium() публичный статический Метод

Smoothly interpolate a value with cubic easing out.
public static EaseOutMedium ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

EaseOutSoft() публичный статический Метод

Smoothly interpolate a value with quadratic easing out.
public static EaseOutSoft ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

Elastic() публичный статический Метод

Smoothly interpolate the object, having a few ripples at the end.
public static Elastic ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

GetMethod() публичный статический Метод

Get appropriate method for an interpolation mode.
public static GetMethod ( InterpolationMode mode ) : InterpolationMethod
mode InterpolationMode Interpolation mode
Результат InterpolationMethod

Linear() публичный статический Метод

Linearly interpolate a value between two points:
public static Linear ( float min, float max, float tweenState ) : float
min float Range start.
max float Range end.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

SinePulse() публичный статический Метод

Pulse around a value using sine waveform.
public static SinePulse ( float state, float amount, float tweenState ) : float
state float Value to sine-pulse around.
amount float Sine-pulse power.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float

SinePulseBack() публичный статический Метод

Pulse around a value using inverse sine waveform.
public static SinePulseBack ( float state, float amount, float tweenState ) : float
state float Value to sine-pulse around.
amount float Sine-pulse power.
tweenState float Tweening state between 0 (not applied) and 1 (completed).
Результат float