ProceduralPlanets
ProceduralPlanets.PropertyColor Class Reference

PropertyColor contains a base color with specified ranges for hue, saturation and brightness. It contains reference to any shaders that are affected by this Color. More...

Public Member Functions

Color SetPropertyColor (int _seed, Color _baseColor, float _hueRange, float _saturationRange, float _brightnessRange)
 Sets a random Property Color based on a random seed, a base color, and hue, saturation, and brightness ranges. More...
 
Color GetPropertySeededColor (int _seed, Color _baseColor, float _hueRange, float _saturationRange, float _brightnessRange)
 Gets a random seeded color based on specific seed, base color, and ranges for hue, saturation and brightness. More...
 
void OverridePropertyColor (Color _color)
 Overrides a PropertyColor with a specific color. More...
 
 PropertyColor (string _key, string _label, Color _baseColor, float _hueRange, float _saturationRange, float _brightnessRange, int _seedOffset, bool _variation, Material[] _materials=null, string _shaderProperty=null)
 Constructor to define a PropertyColor. More...
 

Public Attributes

string key
 
string label
 
Color baseColor
 
float hueRange
 
float saturationRange
 
float brightnessRange
 
Color color
 
bool overrideRandom
 
int seedOffset
 
bool variation
 
Material [] materials
 
string shaderProperty
 

Detailed Description

PropertyColor contains a base color with specified ranges for hue, saturation and brightness. It contains reference to any shaders that are affected by this Color.


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