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; }
public ImageFileNode(NodeMap map, Heightmap heightmap) : base(map) { //Creates one from a pre-existing heightmap. image = heightmap.ToBitmap(); this.heightmap = heightmap; }
public TempNode(NodeMap map) : base(map) { this.latWeight = 0.3f; }
public TempNode(NodeMap map, float latWeight) : base(map) { this.latWeight = latWeight; }
public OutputNode(NodeMap map) : base(map) { this.parent = null; this.mask = null; }
public ImageFileNode(NodeMap map, String fileName) : base(map) { image = new Bitmap(fileName); heightmap = new Heightmap(image); }