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