コード例 #1
0
 public NoiseLayer(NoiseData noiseData, Vector2 seed, bool seedIgnore, bool islandMode)
 {
     this.noiseData  = noiseData;
     this.seed       = seed;
     this.seedIgnore = seedIgnore;
     this.islandMode = islandMode;
 }
コード例 #2
0
 public NOISE_LAYER(NoiseData _noiseData, FLOAT2 _seed, bool _seedIgnore, bool _islandMode)
 {
     noiseData  = _noiseData;
     seed       = _seed;
     seedIgnore = _seedIgnore;
     islandMode = _islandMode;
 }
コード例 #3
0
        public NoiseLayer()
        {
            noiseData = new NoiseData();

            seed.x = Random.value * 10f;
            seed.y = Random.value * 10f;

            islandMode = false;

            seedIgnore = false;
        }