EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Animation.Rotator Class Reference

A component which can be used to automatically rotate an object around an axis over time. More...

Inheritance diagram for EasyTalk.Animation.Rotator:

Private Member Functions

void Update ()
 Updates the rotation of the object.
 

Private Attributes

Vector3 rotationVector
 The rotation vector (in Euler angles).
 
float rotationSpeed = 1.0f
 The rotation speed.
 

Detailed Description

A component which can be used to automatically rotate an object around an axis over time.

Member Function Documentation

◆ Update()

void EasyTalk.Animation.Rotator.Update ( )
private

Updates the rotation of the object.

Member Data Documentation

◆ rotationSpeed

float EasyTalk.Animation.Rotator.rotationSpeed = 1.0f
private

The rotation speed.

◆ rotationVector

Vector3 EasyTalk.Animation.Rotator.rotationVector
private

The rotation vector (in Euler angles).