C# Class WaveEngine.Components.GameActions.FloatAnimationGameAction

Game action of a single float value
Inheritance: UpdatableGameAction
Afficher le fichier Open project: WaveEngine/Components

Protected Properties

Свойство Type Description
from float
to float
updateAction Action

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
AssignValueTo ( float value ) : void

Assign value to method

Method Details

BackInEase() public méthode

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
Résultat float

BackInOutEase() public méthode

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
Résultat float

BackOutEase() public méthode

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
Résultat float

BounceInEase() public méthode

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
Résultat float

BounceInOutEase() public méthode

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
Résultat float

BounceOutEase() public méthode

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
Résultat float

CircleInEase() public méthode

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
Résultat float

CircleInOutEase() public méthode

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
Résultat float

CircleOutEase() public méthode

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
Résultat float

CubicInEase() public méthode

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
Résultat float

CubicInOutEase() public méthode

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
Résultat float

CubicOutEase() public méthode

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
Résultat float

DeltaFunction() public méthode

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
Résultat float

ElasticInEase() public méthode

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
Résultat float

ElasticInOutEase() public méthode

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
Résultat float

ElasticOutEase() public méthode

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
Résultat float

ExponentialInEase() public méthode

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
Résultat float

ExponentialInOutEase() public méthode

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
Résultat float

ExponentialOutEase() public méthode

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
Résultat float

FloatAnimationGameAction() protected méthode

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
Résultat System

FloatAnimationGameAction() public méthode

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
Résultat System

LinearStep() public méthode

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
Résultat float

PerformCancel() protected méthode

Cancels the game action
protected PerformCancel ( ) : void
Résultat void

PerformRun() protected méthode

Ons the run.
protected PerformRun ( ) : void
Résultat void

PerformSkip() protected méthode

Notifies the skip.
protected PerformSkip ( ) : bool
Résultat bool

QuadraticInEase() public méthode

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
Résultat float

QuadraticInOutEase() public méthode

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
Résultat float

QuadraticOutEase() public méthode

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
Résultat float

QuarticInEase() public méthode

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
Résultat float

QuarticInOutEase() public méthode

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
Résultat float

QuarticOutEase() public méthode

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
Résultat float

QuinticInEase() public méthode

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
Résultat float

QuinticInOutEase() public méthode

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
Résultat float

QuinticOutEase() public méthode

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
Résultat float

SineInEase() public méthode

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
Résultat float

SineInOutEase() public méthode

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
Résultat float

SineOutEase() public méthode

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
Résultat float

Update() public méthode

Updates the single game action
public Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The ellapsed gameTime
Résultat void

Property Details

from protected_oe property

Initial value
protected float from
Résultat float

to protected_oe property

End value
protected float to
Résultat float

updateAction protected_oe property

The update action of the
protected Action updateAction
Résultat Action