Beispiel #1
0
 public Node(NodeMap map)
 {
     enableMask = false;
     //This is here to make sure that setInput can always be called
     children = new Node[1];
     this.map = map;
 }
Beispiel #2
0
        public ImageFileNode(NodeMap map, Heightmap heightmap) : base(map)
        {
            //Creates one from a pre-existing heightmap.

            image          = heightmap.ToBitmap();
            this.heightmap = heightmap;
        }
Beispiel #3
0
 public TempNode(NodeMap map) : base(map)
 {
     this.latWeight = 0.3f;
 }
Beispiel #4
0
 public TempNode(NodeMap map, float latWeight) : base(map)
 {
     this.latWeight = latWeight;
 }
Beispiel #5
0
 public OutputNode(NodeMap map) : base(map)
 {
     this.parent = null;
     this.mask   = null;
 }
Beispiel #6
0
 public ImageFileNode(NodeMap map, String fileName) : base(map)
 {
     image     = new Bitmap(fileName);
     heightmap = new Heightmap(image);
 }