HorizonTweenPlugin  4.17.0
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | List of all members
UHorizonTweenEvent Class Reference

#include <HorizonTweenEvent.h>

Inheritance diagram for UHorizonTweenEvent:
UHorizonTweenActorEvent UHorizonTweenBaseTypeEvent UHorizonTweenSceneComponentEvent UHorizonTweenWidgetEvent UHorizonTweenActorColorFromToEvent UHorizonTweenActorMoveFromToEvent UHorizonTweenActorMoveSplinePathEvent UHorizonTweenActorRotatorFromToEvent UHorizonTweenActorScaleFromToEvent UHorizonTweenSplinePathEvent UHorizonTweenFloatEvent UHorizonTweenLinearColorEvent UHorizonTweenRotatorEvent UHorizonTweenVector2DEvent UHorizonTweenVectorEvent UHorizonTweenSceneComponentColorFromToEvent UHorizonTweenSceneComponentMoveFromToEvent UHorizonTweenSceneComponentMoveSplinePathEvent UHorizonTweenSceneComponentRotatorFromToEvent UHorizonTweenSceneComponentScaleFromToEvent UHorizonTweenWidgetColorFromToEvent UHorizonTweenWidgetMoveFromToEvent UHorizonTweenWidgetMoveSplinePathEvent UHorizonTweenWidgetRotatorFromToEvent UHorizonTweenWidgetScaleFromToEvent UHorizonTweenWidgetSheerFromToEvent

Public Member Functions

 UHorizonTweenEvent ()
 
virtual ~UHorizonTweenEvent ()
 
template<typename TDerivedPtr , typename TEventParam >
FORCEINLINE void InitEvent (const FHorizonTweenEventParameters &eventParam, TEventParam &&eventImplementParam)
 
template<typename TDerivedPtr , typename TEventParam >
const TEventParam & GetEventParam ()
 
virtual void Init (AHorizonTweenSystem *pTweenSystem)
 
virtual void Processing (float DeltaTime)
 
void SetEventStatus (ETweenEvent eventStatus)
 
ETweenEvent GetEventStatus ()
 
bool IsFinished ()
 
bool IsPlaying ()
 
float GetCurrentDuration ()
 
float GetCurrentAlpha ()
 
float GetCurrentNumOfLoop ()
 
void SetTweenEventParam (const FHorizonTweenEventParameters &param)
 
FHorizonTweenEventParametersGetTweenEventParam ()
 
virtual void Play ()
 
virtual void Stop ()
 
virtual void Pause ()
 
virtual void Resume ()
 
virtual void Finish (bool bTweenToEnd)
 
void SetFreeze (bool b)
 
bool IsFreeze ()
 

Public Attributes

FOnHorizonTweenEvent OnTweenStart
 
FOnHorizonTweenEvent OnTweenUpdate
 
FOnHorizonTweenEvent OnTweenLoop
 
FOnHorizonTweenEvent OnTweenFinished
 
FOnHorizonTweenEventNative OnTweenStartNative
 
FOnHorizonTweenEventNative OnTweenUpdateNative
 
FOnHorizonTweenEventNative OnTweenLoopNative
 
FOnHorizonTweenEventNative OnTweenFinishedNative
 

Protected Types

enum  ETweenEvent { ETweenEvent::InitProcess, ETweenEvent::Processing, ETweenEvent::Finished }
 

Protected Member Functions

virtual void TweenStart ()
 
virtual void TweenUpdate ()
 
virtual void TweenLoop ()
 
virtual void TweenFinished ()
 
template<typename THorizonTweenEventParameter , typename TReturn >
TReturn GetTweenStart (const THorizonTweenEventParameter &paramImpl, TFunction< TReturn()> getDefaultValue)
 
template<typename THorizonTweenEventParameter , typename TReturn >
TReturn GetTweenEnd (const THorizonTweenEventParameter &paramImpl, TFunction< TReturn()> getDefaultValue)
 
template<typename THorizonTweenEventParameter , typename TReturn >
TReturn GetTweenLerpValue (const THorizonTweenEventParameter &paramImpl, TFunction< TReturn()> getDefaultValue)
 

Member Enumeration Documentation

◆ ETweenEvent

enum UHorizonTweenEvent::ETweenEvent
strongprotected
Enumerator
InitProcess 
Processing 
Finished 

Constructor & Destructor Documentation

◆ UHorizonTweenEvent()

UHorizonTweenEvent::UHorizonTweenEvent ( )

◆ ~UHorizonTweenEvent()

UHorizonTweenEvent::~UHorizonTweenEvent ( )
virtual

Member Function Documentation

◆ Finish()

void UHorizonTweenEvent::Finish ( bool  bTweenToEnd)
virtual

Finish this tween event

Parameters
bTweenToEndflag if we want to set current tween alpha to 1 before finish

◆ GetCurrentAlpha()

float UHorizonTweenEvent::GetCurrentAlpha ( )

◆ GetCurrentDuration()

float UHorizonTweenEvent::GetCurrentDuration ( )
inline

◆ GetCurrentNumOfLoop()

float UHorizonTweenEvent::GetCurrentNumOfLoop ( )
inline

◆ GetEventParam()

template<typename TDerivedPtr , typename TEventParam >
const TEventParam& UHorizonTweenEvent::GetEventParam ( )
inline

◆ GetEventStatus()

ETweenEvent UHorizonTweenEvent::GetEventStatus ( )
inline

◆ GetTweenEnd()

template<typename THorizonTweenEventParameter , typename TReturn >
TReturn UHorizonTweenEvent::GetTweenEnd ( const THorizonTweenEventParameter &  paramImpl,
TFunction< TReturn()>  getDefaultValue 
)
inlineprotected

◆ GetTweenEventParam()

FHorizonTweenEventParameters& UHorizonTweenEvent::GetTweenEventParam ( )
inline

◆ GetTweenLerpValue()

template<typename THorizonTweenEventParameter , typename TReturn >
TReturn UHorizonTweenEvent::GetTweenLerpValue ( const THorizonTweenEventParameter &  paramImpl,
TFunction< TReturn()>  getDefaultValue 
)
inlineprotected

◆ GetTweenStart()

template<typename THorizonTweenEventParameter , typename TReturn >
TReturn UHorizonTweenEvent::GetTweenStart ( const THorizonTweenEventParameter &  paramImpl,
TFunction< TReturn()>  getDefaultValue 
)
inlineprotected

◆ Init()

void UHorizonTweenEvent::Init ( AHorizonTweenSystem pTweenSystem)
virtual

◆ InitEvent()

template<typename TDerivedPtr , typename TEventParam >
FORCEINLINE void UHorizonTweenEvent::InitEvent ( const FHorizonTweenEventParameters eventParam,
TEventParam &&  eventImplementParam 
)
inline

◆ IsFinished()

bool UHorizonTweenEvent::IsFinished ( )
inline

◆ IsFreeze()

bool UHorizonTweenEvent::IsFreeze ( )
inline

◆ IsPlaying()

bool UHorizonTweenEvent::IsPlaying ( )
inline

◆ Pause()

void UHorizonTweenEvent::Pause ( )
virtual

◆ Play()

void UHorizonTweenEvent::Play ( )
virtual

◆ Processing()

void UHorizonTweenEvent::Processing ( float  DeltaTime)
virtual

◆ Resume()

void UHorizonTweenEvent::Resume ( )
virtual

◆ SetEventStatus()

void UHorizonTweenEvent::SetEventStatus ( ETweenEvent  eventStatus)

◆ SetFreeze()

void UHorizonTweenEvent::SetFreeze ( bool  b)
inline

◆ SetTweenEventParam()

void UHorizonTweenEvent::SetTweenEventParam ( const FHorizonTweenEventParameters param)
inline

◆ Stop()

void UHorizonTweenEvent::Stop ( )
virtual

◆ TweenFinished()

void UHorizonTweenEvent::TweenFinished ( )
protectedvirtual

◆ TweenLoop()

void UHorizonTweenEvent::TweenLoop ( )
protectedvirtual

◆ TweenStart()

void UHorizonTweenEvent::TweenStart ( )
protectedvirtual

◆ TweenUpdate()

void UHorizonTweenEvent::TweenUpdate ( )
protectedvirtual

Member Data Documentation

◆ OnTweenFinished

FOnHorizonTweenEvent UHorizonTweenEvent::OnTweenFinished

◆ OnTweenFinishedNative

FOnHorizonTweenEventNative UHorizonTweenEvent::OnTweenFinishedNative

◆ OnTweenLoop

FOnHorizonTweenEvent UHorizonTweenEvent::OnTweenLoop

◆ OnTweenLoopNative

FOnHorizonTweenEventNative UHorizonTweenEvent::OnTweenLoopNative

◆ OnTweenStart

FOnHorizonTweenEvent UHorizonTweenEvent::OnTweenStart

◆ OnTweenStartNative

FOnHorizonTweenEventNative UHorizonTweenEvent::OnTweenStartNative

◆ OnTweenUpdate

FOnHorizonTweenEvent UHorizonTweenEvent::OnTweenUpdate

◆ OnTweenUpdateNative

FOnHorizonTweenEventNative UHorizonTweenEvent::OnTweenUpdateNative

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