Beamable SDK
Public Member Functions | Protected Member Functions | Properties | Events | List of all members
Beamable.UI.Tweening.GenericTween< T > Class Template Referenceabstract
Inheritance diagram for Beamable.UI.Tweening.GenericTween< T >:
Inheritance graph
[legend]
Collaboration diagram for Beamable.UI.Tweening.GenericTween< T >:
Collaboration graph
[legend]

Public Member Functions

 GenericTween (Action< T > updateAction)
 
 GenericTween (float duration, T startValue, T endValue, Action< T > updateAction)
 
- Public Member Functions inherited from Beamable.UI.Tweening.BaseTween
 BaseTween (float duration)
 
void Run ()
 
void Stop ()
 
bool Tick ()
 
BaseTween SetDuration (float duration)
 
BaseTween SetEasing (Easing easing)
 

Protected Member Functions

override bool Update (float t)
 
abstract T Lerp (T from, T to, float t)
 
override void OnComplete ()
 
- Protected Member Functions inherited from Beamable.UI.Tweening.BaseTween
virtual void OnStopped ()
 

Properties

StartValue [getset]
 
EndValue [getset]
 
- Properties inherited from Beamable.UI.Tweening.BaseTween
float Duration [get]
 
Easing Easing = Easing.Linear [get]
 
bool IsRunning = false [get]
 
float StartTime = -1f [get]
 

Events

Action CompleteEvent
 

Member Function Documentation

◆ OnComplete()

override void Beamable.UI.Tweening.GenericTween< T >.OnComplete ( )
inlineprotectedvirtual

Reimplemented from Beamable.UI.Tweening.BaseTween.

◆ Update()

override bool Beamable.UI.Tweening.GenericTween< T >.Update ( float  t)
inlineprotectedvirtual

The documentation for this class was generated from the following file: