C# Класс WaveEngine.Components.GameActions.MoveTo3DGameAction

Game action which animates an 3D entity
Наследование: Vector3AnimationGameAction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
PerformRun ( ) : void

Performs the run operation

Приватные методы

Метод Описание
LocalMoveAction ( System.Vector3 delta ) : void

Move action

MoveAction ( System.Vector3 delta ) : void

Move action

Описание методов

MoveTo3DGameAction() публичный Метод

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.
Результат System

PerformRun() защищенный Метод

Performs the run operation
protected PerformRun ( ) : void
Результат void