ProceduralPlanets
|
This is the class of ring blueprints. Derived from Bluprint class which contains some core classes, lists, and methods common to all types of blueprints. More...
Public Member Functions | |
string | ExportToJSON (bool _easyRead=true) |
Exports this ring blueprint to a JSON string. More... | |
string | ImportFromJSON (string _jsonString) |
Imports a ring blueprint from a JSON string. More... | |
![]() | |
virtual float | GetMin (string _key) |
Gets the minimum value of a PropertyFloat (this will be the lowest/min value of Random.Range when planet/ring is random setting a property. More... | |
virtual float | GetMax (string _key) |
Gets the maximum value of a PropertyFloat (this will be the highest/max value of Random.Range when planet/ring is random setting a property. More... | |
virtual Color | GetColor (string _key) |
Gets the base color of a Property Color (hue, saturation, and brightness ranges will be relative to this color). More... | |
virtual float | GetHueRange (string _key) |
Gets the Hue range that wil determine the random min/max value of hue from the base color of a ProeprtyColor. More... | |
virtual float | GetSaturationRange (string _key) |
Gets the Saturationrange that wil determine the random min/max value of saturation from the base color of a ProeprtyColor. More... | |
virtual float | GetBrightnessRange (string _key) |
Gets the Brightness range that wil determine the random min/max value of brightness from the base color of a ProeprtyColor. More... | |
virtual int | GetMaterialMask (string _key) |
Gets the material mask to be used when materials is randomly selected in a PropertyMaterial. More... | |
virtual int | GetMaterialLength (string _key) |
Gets the length mask string array. More... | |
Additional Inherited Members | |
![]() | |
List< BlueprintPropertyFloat > | blueprintPropertyFloats = new List<BlueprintPropertyFloat>(0) |
List< BlueprintPropertyColor > | blueprintPropertyColors = new List<BlueprintPropertyColor>(0) |
List< BlueprintPropertyMaterial > | blueprintPropertyMaterials = new List<BlueprintPropertyMaterial>(0) |
![]() | |
virtual void | AddBlueprintPropertyFloat (string _key, string _label, float _min, float _max, bool _clamp01, bool _displayAsInt) |
Adds a BlueprintPropertyFloat which is used by derived classes in the Reset() method to add all the settings for a particular planet/ring type. More... | |
virtual void | AddBlueprintPropertyColor (string _key, string _label, Color _color, float _hueRange, float _saturationRange, float _brightnessRange) |
Adds a BlueprintPropertyColor which is used by derived classes in the Reset() method to add all the settings for a particular planet/ring type. More... | |
virtual void | AddBlueprintPropertyMaterial (string _key, string _label, ProceduralMaterial[] _materials) |
Adds a BlueprintPropertyMaterial which is used by derived classes in the Reset() method to add all the settings for a particular planet/ring type. More... | |
virtual BlueprintPropertyFloat | FindBlueprintPropertyFloat (string _key) |
Finds a BlueprintPropertyFloat by key. More... | |
virtual BlueprintPropertyColor | FindBlueprintPropertyColor (string _key) |
Finds a BlueprintPropertyColor by key. More... | |
virtual BlueprintPropertyMaterial | FindBlueprintPropertyMaterial (string _key) |
Finds a BlueprintPropertyMaterial by key. More... | |
This is the class of ring blueprints. Derived from Bluprint class which contains some core classes, lists, and methods common to all types of blueprints.
Version 1.0 - 2018 (c) Imphenzia AB - Author: Stefan Persson