public void InitColorSettings(Material planetMaterial, int BiomeCount) { this.planetMaterial = planetMaterial; biomeColorSettings = new BiomeColorSettings(); biomeColorSettings.noise = new NoiseSettings(); biomeColorSettings.noise.simpleNoiseSettings = new NoiseSettings.SimpleNoiseSettings(); biomeColorSettings.noise.ridgidNoiseSettings = new NoiseSettings.RidgidNoiseSettings(); oceanColor = new Gradient(); GenerateBiomes(BiomeCount); }
public ColorSettings(ColorSettings colorSettings) { m_planetMat = colorSettings.m_planetMat; m_biomeColorSettings = colorSettings.m_biomeColorSettings; }