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

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

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

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

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

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

Back in ease function

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

Back in and out ease function

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

Back out ease function

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

Bounce in ease function

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

Bounce in out ease function

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

Bounce out ease function

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

Circle in ease function

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

Circle in and out ease function

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

Circle out ease function

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

Cubic in ease function

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

Cubic in and out ease function

CubitOutEase ( float t, System.Vector3 b, System.Vector3 c, float d ) : System.Vector3

Cubit out ease function

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

Delta Function method

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

Elastic in ease function

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

Elastic in and out ease function

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

Elastic out ease function

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

Exponential in ease function

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

Exponential in and out ease function

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

Exponential out ease function

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

Smooth Step method

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

Quadratic in ease function

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

Quadratic in and out ease function

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

Quadratic out ease function

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

Quartic in ease function

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

Quartic in and out ease function

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

Quartic out ease function

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

Quintic in ease function

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

Quintic in out ease function

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

Quintic out ease function

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

Sine in ease function

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

Sine in and out ease function

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

Sine out ease function

Update ( System.TimeSpan gameTime ) : void

Updates the single game action

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

Initializes a new instance of the Vector3AnimationGameAction class.

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

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

Cancels the game action

PerformRun ( ) : void

Ons the run.

PerformSkip ( ) : bool

Notifies the skip.

Vector3AnimationGameAction ( System.Entity entity, System.Vector3 from, System.Vector3 to, System.TimeSpan time, EaseFunction ease ) : System

Initializes a new instance of the Vector3AnimationGameAction class.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Smooth Step method
public LinearStep ( float time, System.Vector3 value1, System.Vector3 value2, float duration ) : System.Vector3
time float
value1 System.Vector3
value2 System.Vector3
duration float
Результат System.Vector3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Initializes a new instance of the Vector3AnimationGameAction class.
public Vector3AnimationGameAction ( System.Entity entity, System.Vector3 from, System.Vector3 to, System.TimeSpan time, EaseFunction ease, Action updateAction ) : System
entity System.Entity The entity
from System.Vector3 Initial value
to System.Vector3 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 Vector3,System from
Результат System.Vector3

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

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

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

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