private void InitProperties() { LayerType = Layer.HeightColorization; HasApplicationMode = Visibility.Hidden; CurrentColorApplicationMode = Mode.Normal; osn = new OpenSimplexNoiseAlgorithm(); MinHeight = 0.0f; MaxHeight = 1.0f; ColorNoise = 0.5f; HeightNoiseAmount = 0.5f; HeightNoiseScale = 0.5f; Color10Bool = true; Color11Bool = false; Color12Bool = false; Color13Bool = false; Color14Bool = false; Color20Bool = false; Color21Bool = false; Color22Bool = false; Color23Bool = false; Color24Bool = false; Color30Bool = false; Color31Bool = false; Color32Bool = false; Color33Bool = false; Color34Bool = false; Color40Bool = false; Color41Bool = false; Color42Bool = false; Color43Bool = false; Color44Bool = false; Color50Bool = false; Color51Bool = false; Color52Bool = false; Color53Bool = false; Color54Bool = false; Color60Bool = false; Color61Bool = false; Color62Bool = false; Color63Bool = false; Color64Bool = false; }
public OpenSimplexNoiseLayer(LayerManager layerManager, TerrainEngine terrainEngine) : base(layerManager, terrainEngine) { _openSimplexNoise = new OpenSimplexNoiseAlgorithm(); InitProperties(); }