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

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

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

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

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

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

Performs the run operation

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

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

Local Rotate action

RotateAction ( System.Vector3 delta ) : void

Rotate action

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

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

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

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

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