Example #1
0
 public Blend(ModuleBase lhs, ModuleBase rhs, ModuleBase controller) : base(3)
 {
     this.modules[0] = lhs;
     this.modules[1] = rhs;
     this.modules[2] = controller;
 }
Example #2
0
 public Noise2D(int size, ModuleBase generator)
     : this(size, size, generator)
 {
 }
Example #3
0
 public Exponent(double exponent, ModuleBase input)
     : base(1)
 {
     modules[0] = input;
     Value      = exponent;
 }
 public Cache(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #5
0
 public InverseLerp(ModuleBase module, float from, float to) : base(1)
 {
     this.modules[0] = module;
     this.from       = from;
     this.to         = to;
 }
Example #6
0
 public ConvertToIsland(Vector3 viewCenter, float viewAngle, ModuleBase input) : base(1)
 {
     this.viewCenter = viewCenter;
     this.viewAngle  = viewAngle;
     this.modules[0] = input;
 }
Example #7
0
 public Terrace(bool inverted, ModuleBase input) : base(1)
 {
     this.modules[0] = input;
     this.IsInverted = inverted;
 }
Example #8
0
 public Turbulence(double power, ModuleBase input) : this(new Perlin(), new Perlin(), new Perlin(), power, input)
 {
 }
Example #9
0
 public Select(ModuleBase inputA, ModuleBase inputB, ModuleBase controller) : base(3)
 {
     this.modules[0] = inputA;
     this.modules[1] = inputB;
     this.modules[2] = controller;
 }
Example #10
0
 public Clamp(double min, double max, ModuleBase input) : base(1)
 {
     this.Minimum    = min;
     this.Maximum    = max;
     this.modules[0] = input;
 }
Example #11
0
 public PowerKeepSign(ModuleBase lhs, ModuleBase rhs) : base(2)
 {
     this.modules[0] = lhs;
     this.modules[1] = rhs;
 }
Example #12
0
 public Clamp(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #13
0
 public Curve(ModuleBase input)
     : base(1)
 {
     modules[0] = input;
 }
Example #14
0
 public Abs(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #15
0
 public Arbitrary(ModuleBase source, Func <double, double> processor)
     : base(1)
 {
     base.modules[0] = source;
     this.processor  = processor;
 }
Example #16
0
 public Select(double min, double max, double fallOff, ModuleBase inputA, ModuleBase inputB) : this(inputA, inputB, null)
 {
     this.m_min   = min;
     this.m_max   = max;
     this.FallOff = fallOff;
 }
Example #17
0
 public Min(ModuleBase lhs, ModuleBase rhs) : base(2)
 {
     this.modules[0] = lhs;
     this.modules[1] = rhs;
 }
 public SqueezeHorizontally(ModuleBase input, float factor) : base(1)
 {
     this.modules[0] = input;
     this.factor     = factor;
 }
Example #19
0
 public Terrace(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #20
0
 public NoisePlanet(ModuleBase noise, string name)
 {
     this.name  = name;
     this.noise = noise;
 }
Example #21
0
 public Max(ModuleBase lhs, ModuleBase rhs)
     : base(2)
 {
     modules[0] = lhs;
     modules[1] = rhs;
 }
Example #22
0
 public static void StoreNoiseRender(ModuleBase noise, string name, IntVec2 renderSize)
 {
     RenderSize = renderSize;
     StoreNoiseRender(noise, name);
 }
Example #23
0
 public Scale(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #24
0
 public Exponent(ModuleBase input)
     : base(1)
 {
     modules[0] = input;
 }
Example #25
0
 public Translate(ModuleBase input) : base(1)
 {
     this.modules[0] = input;
 }
Example #26
0
 public CurveSimple(ModuleBase input, SimpleCurve curve) : base(1)
 {
     this.modules[0] = input;
     this.curve      = curve;
 }