C# Class WaveEngine.Components.GameActions.Vector3AnimationGameAction

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

Protected Properties

Свойство Type Description
from System.Vector3
to System.Vector3
updateAction Action

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode Description
AssignValueTo ( System.Vector3 value ) : void

Method Details

BackInEase() public méthode

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

BackInOutEase() public méthode

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

BackOutEase() public méthode

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

BounceInEase() public méthode

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

BounceInOutEase() public méthode

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

BounceOutEase() public méthode

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

CircleInEase() public méthode

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

CircleInOutEase() public méthode

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

CircleOutEase() public méthode

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

CubicInEase() public méthode

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

CubicInOutEase() public méthode

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

CubitOutEase() public méthode

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

DeltaFunction() public méthode

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

ElasticInEase() public méthode

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

ElasticInOutEase() public méthode

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

ElasticOutEase() public méthode

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

ExponentialInEase() public méthode

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

ExponentialInOutEase() public méthode

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

ExponentialOutEase() public méthode

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

LinearStep() public méthode

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

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

QuadraticInOutEase() public méthode

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

QuadraticOutEase() public méthode

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

QuarticInEase() public méthode

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

QuarticInOutEase() public méthode

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

QuarticOutEase() public méthode

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

QuinticInEase() public méthode

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

QuinticInOutEase() public méthode

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

QuinticOutEase() public méthode

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

SineInEase() public méthode

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

SineInOutEase() public méthode

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

SineOutEase() public méthode

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

Update() public méthode

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

Vector3AnimationGameAction() protected méthode

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

Vector3AnimationGameAction() public méthode

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

Property Details

from protected_oe property

Initial value
protected Vector3,System from
Résultat System.Vector3

to protected_oe property

End value
protected Vector3,System to
Résultat System.Vector3

updateAction protected_oe property

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