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

Наследование: UpdatableGameAction
Показать файл Открыть проект

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

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

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

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

Back in ease function

BackInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Back in and out ease function

BackOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Back out ease function

BounceInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce in ease function

BounceInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce in out ease function

BounceOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Bounce out ease function

CircleInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle in ease function

CircleInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle in and out ease function

CircleOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Circle out ease function

CubicInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic in ease function

CubicInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic in and out ease function

CubicOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Cubic out Ease ease function

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

Delta Function method

ElasticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic in ease function

ElasticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic in and out ease function

ElasticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Elastic out ease function

ExponentialInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential in ease function

ExponentialInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential in and out ease function

ExponentialOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Exponential out ease function

LinearStep ( float time, System.Vector2 value1, System.Vector2 value2, float duration ) : System.Vector2

Smooth Step method

QuadraticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic in ease function

QuadraticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic in and out ease function

QuadraticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quadratic out ease function

QuarticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic in ease function

QuarticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic in and out ease function

QuarticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quartic out ease function

QuinticInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic in ease function

QuinticInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic in and out ease function

QuinticOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Quintic out ease function

SineInEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine in ease function

SineInOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine in and out ease function

SineOutEase ( float t, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2

Sine out ease function

Update ( System.TimeSpan gameTime ) : void

Updates the single game action

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

Initializes a new instance of the Vector2AnimationGameAction class.

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

Метод Описание
PerformCancel ( ) : void

Cancels the game action

PerformRun ( ) : void

Ons the run.

PerformSkip ( ) : bool

Notifies the skip.

Vector2AnimationGameAction ( System.Entity entity, System.Vector2 from, System.Vector2 to, System.TimeSpan time, EaseFunction ease ) : System

Initializes a new instance of the Vector2AnimationGameAction class.

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

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

Assign value to method

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Smooth Step method
public LinearStep ( float time, System.Vector2 value1, System.Vector2 value2, float duration ) : System.Vector2
time float Current time
value1 System.Vector2 Start value
value2 System.Vector2 End value
duration float Animation duration
Результат System.Vector2

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, System.Vector2 b, System.Vector2 c, float d ) : System.Vector2
t float Current time
b System.Vector2 Start value
c System.Vector2 End value
d float Animation duration
Результат System.Vector2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Initial value
protected Vector2,System from
Результат System.Vector2

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

End value
protected Vector2,System to
Результат System.Vector2

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

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