Exemplo n.º 1
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);
         }
     }
 }
Exemplo n.º 2
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);
         }
     }
 }
Exemplo n.º 3
0
 public description_class()
 {
     this.foldout        = true;
     this.text           = "Root";
     this.remarks        = new remarks_class();
     this.layer_index    = new List <int>();
     this.layers_active  = true;
     this.layers_foldout = true;
     this.swap_text      = "S";
 }
Exemplo n.º 4
0
 public description_class()
 {
     this.foldout = true;
     this.text = "Root";
     this.remarks = new remarks_class();
     this.layer_index = new List<int>();
     this.layers_active = true;
     this.layers_foldout = true;
     this.swap_text = "S";
 }
Exemplo n.º 5
0
 public layer_class()
 {
     this.active         = true;
     this.color_layer    = new Color(1.5f, 1.5f, 1.5f, (float)1);
     this.output         = layer_output_enum.color;
     this.strength       = (float)1;
     this.zoom           = (float)1;
     this.offset_range   = new Vector2((float)5, (float)5);
     this.text           = string.Empty;
     this.text_placed    = string.Empty;
     this.remarks        = new remarks_class();
     this.height_output  = new height_output_class();
     this.color_output   = new color_output_class();
     this.splat_output   = new splat_output_class();
     this.tree_output    = new tree_output_class();
     this.grass_output   = new grass_output_class();
     this.object_output  = new object_output_class();
     this.swap_text      = "S";
     this.prefilter      = new prefilter_class();
     this.objects_placed = new List <distance_class>();
     this.object_output  = new object_output_class();
 }
Exemplo n.º 6
0
 public layer_class()
 {
     this.active = true;
     this.color_layer = new Color(1.5f, 1.5f, 1.5f, (float)1);
     this.output = layer_output_enum.color;
     this.strength = (float)1;
     this.zoom = (float)1;
     this.offset_range = new Vector2((float)5, (float)5);
     this.text = string.Empty;
     this.text_placed = string.Empty;
     this.remarks = new remarks_class();
     this.height_output = new height_output_class();
     this.color_output = new color_output_class();
     this.splat_output = new splat_output_class();
     this.tree_output = new tree_output_class();
     this.grass_output = new grass_output_class();
     this.object_output = new object_output_class();
     this.swap_text = "S";
     this.prefilter = new prefilter_class();
     this.objects_placed = new List<distance_class>();
     this.object_output = new object_output_class();
 }
Exemplo n.º 7
0
 public terrain_area_class()
 {
     this.terrains                  = new List <terrain_class2>();
     this.tiles                     = new tile_class();
     this.tiles_select              = new tile_class();
     this.tiles_select_link         = true;
     this.center                    = new Vector3((float)0, (float)0, (float)0);
     this.center_synchronous        = true;
     this.tile_synchronous          = true;
     this.tile_position_synchronous = true;
     this.text_edit                 = string.Empty;
     this.remarks                   = new remarks_class();
     this.copy_settings             = true;
     this.foldout                   = true;
     this.terrains_active           = true;
     this.terrains_scene_active     = true;
     this.terrains_foldout          = true;
     this.auto_search               = new auto_search_class();
     this.auto_name                 = new auto_search_class();
     this.scene_name                = "Terrain";
     this.asset_name                = "New Terrain";
     this.set_terrain_text();
 }