Пример #1
0
 public void UpdateField(int d, int f, int r, int freq, bool revert, Texture texture, NoiseTexture.NoiseType t)
 {
     this._dimensions = d;
     this._fractal    = f;
     this._resolution = r;
     this._frequency  = freq;
     this._revert     = revert;
     this._texture    = texture;
     this._type       = t;
 }
Пример #2
0
 public void ReadField(ref int d, ref int f, ref int r, ref int freq, ref bool revert, ref NoiseTexture.NoiseType t)
 {
     d      = this._dimensions;
     f      = this._fractal;
     r      = this._resolution;
     freq   = this._frequency;
     revert = this._revert;
     t      = this._type;
 }