C# Class WaveEngine.Components.GameActions.ScaleTo3DGameAction

Game action that scales an entity 3D
Inheritance: Vector3AnimationGameAction
Exibir arquivo Open project: WaveEngine/Components

Public Methods

Method Description
ScaleTo3DGameAction ( System.Entity entity, System.Vector3 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System

Initializes a new instance of the ScaleTo3DGameAction class.

Protected Methods

Method Description
PerformRun ( ) : void

Performs the run operation

Private Methods

Method Description
LocalScaleAction ( System.Vector3 delta ) : void

Scale action

ScaleAction ( System.Vector3 delta ) : void

Scale action

Method Details

PerformRun() protected method

Performs the run operation
protected PerformRun ( ) : void
return void

ScaleTo3DGameAction() public method

Initializes a new instance of the ScaleTo3DGameAction class.
public ScaleTo3DGameAction ( System.Entity entity, System.Vector3 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System
entity System.Entity The target entity
to System.Vector3 The target scale
time System.TimeSpan Animation duration
ease EaseFunction The ease function
local bool If the scale is in local coordinate
return System