C# Class WaveEngine.Components.GameActions.Vector3AnimationGameAction

Game action of a single float value
Inheritance: UpdatableGameAction
Show file Open project: WaveEngine/Components Class Usage Examples

Protected Properties

Property Type Description
from System.Vector3
to System.Vector3
updateAction Action

Public Methods

Method 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.

Protected Methods

Method 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

Method Description
AssignValueTo ( System.Vector3 value ) : void

Method Details

BackInEase() public method

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
return System.Vector3

BackInOutEase() public method

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
return System.Vector3

BackOutEase() public method

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
return System.Vector3

BounceInEase() public method

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
return System.Vector3

BounceInOutEase() public method

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
return System.Vector3

BounceOutEase() public method

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
return System.Vector3

CircleInEase() public method

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
return System.Vector3

CircleInOutEase() public method

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
return System.Vector3

CircleOutEase() public method

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
return System.Vector3

CubicInEase() public method

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
return System.Vector3

CubicInOutEase() public method

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
return System.Vector3

CubitOutEase() public method

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
return System.Vector3

DeltaFunction() public method

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
return System.Vector3

ElasticInEase() public method

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
return System.Vector3

ElasticInOutEase() public method

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
return System.Vector3

ElasticOutEase() public method

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
return System.Vector3

ExponentialInEase() public method

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
return System.Vector3

ExponentialInOutEase() public method

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
return System.Vector3

ExponentialOutEase() public method

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
return System.Vector3

LinearStep() public method

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
return System.Vector3

PerformCancel() protected method

Cancels the game action
protected PerformCancel ( ) : void
return void

PerformRun() protected method

Ons the run.
protected PerformRun ( ) : void
return void

PerformSkip() protected method

Notifies the skip.
protected PerformSkip ( ) : bool
return bool

QuadraticInEase() public method

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
return System.Vector3

QuadraticInOutEase() public method

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
return System.Vector3

QuadraticOutEase() public method

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
return System.Vector3

QuarticInEase() public method

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
return System.Vector3

QuarticInOutEase() public method

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
return System.Vector3

QuarticOutEase() public method

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
return System.Vector3

QuinticInEase() public method

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
return System.Vector3

QuinticInOutEase() public method

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
return System.Vector3

QuinticOutEase() public method

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
return System.Vector3

SineInEase() public method

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
return System.Vector3

SineInOutEase() public method

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
return System.Vector3

SineOutEase() public method

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
return System.Vector3

Update() public method

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

Vector3AnimationGameAction() protected method

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
return System

Vector3AnimationGameAction() public method

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
return System

Property Details

from protected property

Initial value
protected Vector3,System from
return System.Vector3

to protected property

End value
protected Vector3,System to
return System.Vector3

updateAction protected property

The update action of the
protected Action updateAction
return Action