public prelayer_class(int length, int index2) { this.foldout = true; this.linked = true; this.remarks = new remarks_class(); this.interface_display_layer = true; this.layers_foldout = true; this.layers_active = true; this.layer = new List<layer_class>(); this.predescription = new predescription_class(); this.layer_text = "Layer(1):"; this.view_heightmap_layer = true; this.view_color_layer = true; this.view_splat_layer = true; this.view_tree_layer = true; this.view_grass_layer = true; this.view_object_layer = true; this.prearea = new area_class(); this.objects_placed = new List<distance_class>(); this.index = index2; if (length > 0) { for (int i = 0; i < length; i++) { this.layer.Add(new layer_class()); this.layer[0].output = layer_output_enum.splat; this.predescription.add_layer_index(i, i, 0); } } }
public prelayer_class(int length, int index2) { this.foldout = true; this.linked = true; this.remarks = new remarks_class(); this.interface_display_layer = true; this.layers_foldout = true; this.layers_active = true; this.layer = new List <layer_class>(); this.predescription = new predescription_class(); this.layer_text = "Layer(1):"; this.view_heightmap_layer = true; this.view_color_layer = true; this.view_splat_layer = true; this.view_tree_layer = true; this.view_grass_layer = true; this.view_object_layer = true; this.prearea = new area_class(); this.objects_placed = new List <distance_class>(); this.index = index2; if (length > 0) { for (int i = 0; i < length; i++) { this.layer.Add(new layer_class()); this.layer[0].output = layer_output_enum.splat; this.predescription.add_layer_index(i, i, 0); } } }