Exemple #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;
 }
Exemple #2
0
        public ImageFileNode(NodeMap map, Heightmap heightmap) : base(map)
        {
            //Creates one from a pre-existing heightmap.

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