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