Kanda Graphics 0.6.0
Loading...
Searching...
No Matches
FadeController Class Reference

More...

+ Inheritance diagram for FadeController:

Public Member Functions

 FadeController (IFadeVisual fadeView, float fadeTimeSeconds=0.5f, float maxSecondsFadedOut=10f)
 
void Initialize (FadeDirection initialDirection, bool startFading)
 Initializes the fade for a given direction.
 
void Update (float deltaTime)
 Call this every frame to update the fade.
 
void StartFade (FadeDirection direction)
 Starts a fade in a given direction.
 
bool IsFadeComplete ()
 True if the fade is complete.
 

Detailed Description

Member Function Documentation

◆ Initialize()

void Initialize ( FadeDirection initialDirection,
bool startFading )
inline

Initializes the fade for a given direction.

Implements IFadeController.

◆ IsFadeComplete()

bool IsFadeComplete ( )

True if the fade is complete.

Implements IFadeController.

◆ StartFade()

void StartFade ( FadeDirection direction)
inline

Starts a fade in a given direction.

Implements IFadeController.

◆ Update()

void Update ( float deltaTime)
inline

Call this every frame to update the fade.

Implements IFadeController.


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