ORK Framework  2.25.2
API Documentation
ORKFramework.Behaviours.ColorFader Class Reference
Inheritance diagram for ORKFramework.Behaviours.ColorFader:
ORKFramework.Behaviours.EventFader ORKFramework.Behaviours.TargetBlinker

Public Member Functions

void Clear (bool initRenderers)
 
void OneTimeInit ()
 
void Fade (FadeColorSettings settings, bool fadeChildren, bool shared, string matProp, bool iflo)
 
void Flash (FadeColorSettings settings, bool fadeChildren, bool shared, string matProp, bool iflo)
 
void Blink (FadeColorSettings settings, bool fadeChildren)
 
void StopBlink ()
 
void StoreCurrentColors ()
 
void RestoreCurrentColors ()
 

Protected Member Functions

void DoFade (Renderer rend)
 
void DoFadeCurrent (Renderer rend)
 
void StoreRenderer (Renderer rend)
 
void RestoreRenderer (Renderer rend, ref int index)
 

Protected Attributes

FadeColorSettings settings
 
bool inPause = false
 
Renderer rendererComponent
 
List< Renderer > childRenderers
 
bool renderersInitialized = false
 
GetColorFade linkedTime
 
float time
 
float time2
 
bool fadeChildren
 
Color color
 
Color start
 
bool fading = false
 
bool flash = false
 
bool blink = false
 
bool reverting = false
 
bool useCurrent = false
 
int currentIndex = 0
 
List< Color > currentColors
 
bool useShared = false
 
string materialProperty = "_Color"
 
bool isFloat = false
 
FlyingText displayText
 
Color displayTextStart
 

Properties

GetColorFade LinkedTime [get, set]