C# Class WaveEngine.Components.GameActions.MoveTo3DGameAction

Game action which animates an 3D entity
Inheritance: Vector3AnimationGameAction
Afficher le fichier Open project: WaveEngine/Components

Méthodes publiques

Méthode Description
MoveTo3DGameAction ( System.Entity entity, System.Vector3 to, System.TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false ) : System

Initializes a new instance of the MoveTo3DGameAction class.

Méthodes protégées

Méthode Description
PerformRun ( ) : void

Performs the run operation

Private Methods

Méthode Description
LocalMoveAction ( System.Vector3 delta ) : void

Move action

MoveAction ( System.Vector3 delta ) : void

Move action

Method Details

MoveTo3DGameAction() public méthode

Initializes a new instance of the MoveTo3DGameAction class.
public MoveTo3DGameAction ( 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 position
time System.TimeSpan Animation duration
ease EaseFunction The ease function
local bool If the position is in local coordinates.
Résultat System

PerformRun() protected méthode

Performs the run operation
protected PerformRun ( ) : void
Résultat void