ORK Framework  2.25.2
API Documentation
ORKFramework.FadeColorSettings Class Reference
Inheritance diagram for ORKFramework.FadeColorSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 FadeColorSettings (float t, float s, float e)
 
void GetStart (ref Color start)
 
bool Fade (ref Color color, Color colStart, float t)
 
bool Fade (ref Color color, Color colStart, float t, float t2)
 
bool RevertFade (ref Color color, Color colStart, float t)
 
bool RevertFade (ref Color color, Color colStart, float t, float t2)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

float time = 0.25f
 
EaseType interpolation = EaseType.Linear
 
bool alpha = true
 
bool red = false
 
bool green = false
 
bool blue = false
 
bool fromCurrent = false
 
Color startColor = new Color(0, 0, 0, 0)
 
Color endColor = new Color(0, 0, 0, 1)