|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| RgbKey (Keys key, string keyTriggerName) | |
| void | SetIntegerRepresentation (int integerValue) |
| void | FadeTo (Color targetColor, float time) |
| void | SetFlashing (Color flashColor, float time, float flashesPerSecond=1f) |
| void | SetFlashing (Color baseColor, Color flashColor, float time, float flashesPerSecond=1f) |
| void | SetBaseColor (Color color) |
| void | SetTargetColor (Color color) |
| void | SetSolid () |
| void | SetSolid (Color color) |
| void | Clear () |
Public Attributes | |
| readonly Keys | Key |
| readonly string | KeyTriggerName |
Package Functions | |
| void | Update (float timeElapsed) |
Properties | |
| int | CurrentIntegerRepresentation [get, private set] |
| RgbKeyEffect | Effect [get, private set] |
| Color | BaseColor [get, private set] |
| Color | TargetColor [get, private set] |
| Color | CurrentColor [get, private set] |
| bool | IsVisible [get] |
Private Member Functions | |
| void | UpdateSolidEffect () |
| void | UpdateFadeEffect () |
| void | UpdateFlashingEffect () |
Private Attributes | |
| float | _timeRemaining |
| float | _totalTime = 1f |
| float | _effectRate = 1f |