Пример #1
0
 public override void default_perlin()
 {
     this.curve           = AnimationCurve.Linear((float)0, (float)1, (float)1, (float)1);
     this.type            = curve_type_enum.Perlin;
     this.frequency       = (float)256;
     this.offset          = new Vector2((float)0, (float)0);
     this.offset_middle   = new Vector2((float)0, (float)0);
     this.detail          = 7;
     this.detail_strength = (float)2;
     this.abs             = false;
 }
Пример #2
0
 public override void default_random()
 {
     this.curve = AnimationCurve.Linear((float)0, (float)0, (float)1, (float)0);
     this.type  = curve_type_enum.Random;
 }
Пример #3
0
 public override void default_normal()
 {
     this.curve = AnimationCurve.Linear((float)0, (float)0, (float)1, (float)1);
     this.type  = curve_type_enum.Normal;
 }