C# Класс WaveEngine.Components.GameActions.FloatAnimationGameAction

Game action of a single float value
Наследование: UpdatableGameAction
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
from float
to float
updateAction Action

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

Метод Описание
BackInEase ( float t, float b, float c, float d ) : float

Back in ease function

BackInOutEase ( float t, float b, float c, float d ) : float

Back in and out ease function

BackOutEase ( float t, float b, float c, float d ) : float

Back out ease function

BounceInEase ( float t, float b, float c, float d ) : float

Bounce in ease function

BounceInOutEase ( float t, float b, float c, float d ) : float

Bounce in and out ease function

BounceOutEase ( float t, float b, float c, float d ) : float

Bounce out ease function

CircleInEase ( float t, float b, float c, float d ) : float

Circle in ease function

CircleInOutEase ( float t, float b, float c, float d ) : float

Circle in and out ease function

CircleOutEase ( float t, float b, float c, float d ) : float

Circle out ease function

CubicInEase ( float t, float b, float c, float d ) : float

Cubic in ease function

CubicInOutEase ( float t, float b, float c, float d ) : float

Cubi in and out ease function

CubicOutEase ( float t, float b, float c, float d ) : float

Cubic out ease function

DeltaFunction ( EaseFunction function, float from, float to, float time, float totalTime ) : float

Delta Function method

ElasticInEase ( float t, float b, float c, float d ) : float

Elastic in ease function

ElasticInOutEase ( float t, float b, float c, float d ) : float

Elastic in and out ease function

ElasticOutEase ( float t, float b, float c, float d ) : float

Elastic out ease function

ExponentialInEase ( float t, float b, float c, float d ) : float

Exponential in ease function

ExponentialInOutEase ( float t, float b, float c, float d ) : float

Exponential in and out ease function

ExponentialOutEase ( float t, float b, float c, float d ) : float

Exponential out ease function

FloatAnimationGameAction ( System.Entity entity, float from, float to, System.TimeSpan time, EaseFunction ease, Action updateAction ) : System

Initializes a new instance of the FloatAnimationGameAction class.

LinearStep ( float from, float to, float lerp ) : float

Smooth Step method

QuadraticInEase ( float t, float b, float c, float d ) : float

Quadratic in ease function

QuadraticInOutEase ( float t, float b, float c, float d ) : float

Quadratic in and out ease function

QuadraticOutEase ( float t, float b, float c, float d ) : float

Quadratic out ease function

QuarticInEase ( float t, float b, float c, float d ) : float

Quartic in ease function

QuarticInOutEase ( float t, float b, float c, float d ) : float

Quartic in and out ease function

QuarticOutEase ( float t, float b, float c, float d ) : float

Quartic out ease function

QuinticInEase ( float t, float b, float c, float d ) : float

Quintic in ease function

QuinticInOutEase ( float t, float b, float c, float d ) : float

Quintic in and out ease function

QuinticOutEase ( float t, float b, float c, float d ) : float

Quintic out ease function

SineInEase ( float t, float b, float c, float d ) : float

Sine in ease function

SineInOutEase ( float t, float b, float c, float d ) : float

Sine in and out ease function

SineOutEase ( float t, float b, float c, float d ) : float

Sine out ease function

Update ( System.TimeSpan gameTime ) : void

Updates the single game action

Защищенные методы

Метод Описание
FloatAnimationGameAction ( System.Entity entity, float from, float to, System.TimeSpan time, EaseFunction ease ) : System

Initializes a new instance of the FloatAnimationGameAction class.

PerformCancel ( ) : void

Cancels the game action

PerformRun ( ) : void

Ons the run.

PerformSkip ( ) : bool

Notifies the skip.

Приватные методы

Метод Описание
AssignValueTo ( float value ) : void

Assign value to method

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

BackInEase() публичный Метод

Back in ease function
public BackInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

BackInOutEase() публичный Метод

Back in and out ease function
public BackInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

BackOutEase() публичный Метод

Back out ease function
public BackOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

BounceInEase() публичный Метод

Bounce in ease function
public BounceInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

BounceInOutEase() публичный Метод

Bounce in and out ease function
public BounceInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

BounceOutEase() публичный Метод

Bounce out ease function
public BounceOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CircleInEase() публичный Метод

Circle in ease function
public CircleInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CircleInOutEase() публичный Метод

Circle in and out ease function
public CircleInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CircleOutEase() публичный Метод

Circle out ease function
public CircleOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CubicInEase() публичный Метод

Cubic in ease function
public CubicInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CubicInOutEase() публичный Метод

Cubi in and out ease function
public CubicInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

CubicOutEase() публичный Метод

Cubic out ease function
public CubicOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

DeltaFunction() публичный Метод

Delta Function method
public DeltaFunction ( EaseFunction function, float from, float to, float time, float totalTime ) : float
function EaseFunction
from float Start value
to float End value
time float Current time
totalTime float Animation duration
Результат float

ElasticInEase() публичный Метод

Elastic in ease function
public ElasticInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

ElasticInOutEase() публичный Метод

Elastic in and out ease function
public ElasticInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

ElasticOutEase() публичный Метод

Elastic out ease function
public ElasticOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

ExponentialInEase() публичный Метод

Exponential in ease function
public ExponentialInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

ExponentialInOutEase() публичный Метод

Exponential in and out ease function
public ExponentialInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

ExponentialOutEase() публичный Метод

Exponential out ease function
public ExponentialOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

FloatAnimationGameAction() защищенный Метод

Initializes a new instance of the FloatAnimationGameAction class.
protected FloatAnimationGameAction ( System.Entity entity, float from, float to, System.TimeSpan time, EaseFunction ease ) : System
entity System.Entity The entity
from float Initial value
to float End value
time System.TimeSpan The time of the animation
ease EaseFunction Easing function
Результат System

FloatAnimationGameAction() публичный Метод

Initializes a new instance of the FloatAnimationGameAction class.
public FloatAnimationGameAction ( System.Entity entity, float from, float to, System.TimeSpan time, EaseFunction ease, Action updateAction ) : System
entity System.Entity The entity
from float Initial value
to float End value
time System.TimeSpan The time of the animation
ease EaseFunction Easing function
updateAction Action The action when needs to be updated
Результат System

LinearStep() публичный Метод

Smooth Step method
public LinearStep ( float from, float to, float lerp ) : float
from float Initial value
to float End value
lerp float The lerp value
Результат float

PerformCancel() защищенный Метод

Cancels the game action
protected PerformCancel ( ) : void
Результат void

PerformRun() защищенный Метод

Ons the run.
protected PerformRun ( ) : void
Результат void

PerformSkip() защищенный Метод

Notifies the skip.
protected PerformSkip ( ) : bool
Результат bool

QuadraticInEase() публичный Метод

Quadratic in ease function
public QuadraticInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuadraticInOutEase() публичный Метод

Quadratic in and out ease function
public QuadraticInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuadraticOutEase() публичный Метод

Quadratic out ease function
public QuadraticOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuarticInEase() публичный Метод

Quartic in ease function
public QuarticInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuarticInOutEase() публичный Метод

Quartic in and out ease function
public QuarticInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuarticOutEase() публичный Метод

Quartic out ease function
public QuarticOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuinticInEase() публичный Метод

Quintic in ease function
public QuinticInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuinticInOutEase() публичный Метод

Quintic in and out ease function
public QuinticInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

QuinticOutEase() публичный Метод

Quintic out ease function
public QuinticOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

SineInEase() публичный Метод

Sine in ease function
public SineInEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

SineInOutEase() публичный Метод

Sine in and out ease function
public SineInOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

SineOutEase() публичный Метод

Sine out ease function
public SineOutEase ( float t, float b, float c, float d ) : float
t float Current time
b float Start value
c float End value
d float Animation duration
Результат float

Update() публичный Метод

Updates the single game action
public Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The ellapsed gameTime
Результат void

Описание свойств

from защищенное свойство

Initial value
protected float from
Результат float

to защищенное свойство

End value
protected float to
Результат float

updateAction защищенное свойство

The update action of the
protected Action updateAction
Результат Action