Random color changer. More...
Public Attributes | |
bool | UseInterval = true |
Use intervals to change the color (default: true). More... | |
Vector2 | ChangeInterval = new Vector2(5, 10) |
summary>Random hue range between min (= x) and max (= y) (default: x = 0, y = 1). More... | |
Vector2 | HueRange = new Vector2(0f, 1f) |
summary>Random saturation range between min (= x) and max (= y) (default: x = 1, y = 1). More... | |
Vector2 | SaturationRange = new Vector2(1f, 1f) |
summary>Random value range between min (= x) and max (= y) (default: x = 1, y = 1). More... | |
Vector2 | ValueRange = new Vector2(1f, 1f) |
summary>Random alpha range between min (= x) and max (= y) (default: x = 1, y = 1). More... | |
Vector2 | AlphaRange = new Vector2(1f, 1f) |
summary>Use gray scale colors (default: false). More... | |
bool | GrayScale |
summary>Modify the color of a material instead of the Renderer (default: not set, optional). More... | |
Material | Material |
summary>Set the object to a random color at Start (default: false). More... | |
bool | RandomColorAtStart |
Detailed Description
Random color changer.
Member Data Documentation
◆ AlphaRange
Vector2 Crosstales.Common.Util.RandomColor.AlphaRange = new Vector2(1f, 1f) |
summary>Use gray scale colors (default: false).
◆ ChangeInterval
Vector2 Crosstales.Common.Util.RandomColor.ChangeInterval = new Vector2(5, 10) |
summary>Random hue range between min (= x) and max (= y) (default: x = 0, y = 1).
◆ GrayScale
bool Crosstales.Common.Util.RandomColor.GrayScale |
summary>Modify the color of a material instead of the Renderer (default: not set, optional).
◆ HueRange
Vector2 Crosstales.Common.Util.RandomColor.HueRange = new Vector2(0f, 1f) |
summary>Random saturation range between min (= x) and max (= y) (default: x = 1, y = 1).
◆ Material
Material Crosstales.Common.Util.RandomColor.Material |
summary>Set the object to a random color at Start (default: false).
◆ SaturationRange
Vector2 Crosstales.Common.Util.RandomColor.SaturationRange = new Vector2(1f, 1f) |
summary>Random value range between min (= x) and max (= y) (default: x = 1, y = 1).
◆ UseInterval
bool Crosstales.Common.Util.RandomColor.UseInterval = true |
Use intervals to change the color (default: true).
summary>Random change interval between min (= x) and max (= y) in seconds (default: x = 5, y = 10).
◆ ValueRange
Vector2 Crosstales.Common.Util.RandomColor.ValueRange = new Vector2(1f, 1f) |
summary>Random alpha range between min (= x) and max (= y) (default: x = 1, y = 1).
The documentation for this class was generated from the following file:
- C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/Common/Extras/Random/Scripts/RandomColor.cs