C# Class WaveEngine.Components.GameActions.RotateTo3DGameAction

Game action that rotates an entity 3D.
Inheritance: Vector3AnimationGameAction
Afficher le fichier Open project: WaveEngine/Components Class Usage Examples

Méthodes publiques

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

Initializes a new instance of the RotateTo3DGameAction class.

Méthodes protégées

Méthode Description
PerformRun ( ) : void

Performs the run operation

Private Methods

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

Local Rotate action

RotateAction ( System.Vector3 delta ) : void

Rotate action

Method Details

PerformRun() protected méthode

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

RotateTo3DGameAction() public méthode

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