Exemple #1
0
 public image_class()
 {
     this.precolor_range = new precolor_range_class(0, false);
     this.image = new List<Texture2D>();
     this.image_color = Color.white;
     this.list_length = 1;
     this.list_row = 4;
     this.image_auto_scale = true;
     this.conversion_step = new Vector2((float)1, (float)1);
     this.tile_x = (float)1;
     this.tile_y = (float)1;
     this.rgb = true;
     this.edge_blur_radius = (float)1;
     this.auto_search = new auto_search_class();
     this.image.Add(this.texture);
     this.auto_search.extension = ".png";
 }
Exemple #2
0
 public image_class()
 {
     this.precolor_range   = new precolor_range_class(0, false);
     this.image            = new List <Texture2D>();
     this.image_color      = Color.white;
     this.list_length      = 1;
     this.list_row         = 4;
     this.image_auto_scale = true;
     this.conversion_step  = new Vector2((float)1, (float)1);
     this.tile_x           = (float)1;
     this.tile_y           = (float)1;
     this.rgb = true;
     this.edge_blur_radius = (float)1;
     this.auto_search      = new auto_search_class();
     this.image.Add(this.texture);
     this.auto_search.extension = ".png";
 }
Exemple #3
0
 public raw_class()
 {
     this.foldout         = true;
     this.file_index      = new List <int>();
     this.file_foldout    = new List <bool>();
     this.path            = string.Empty;
     this.list_length     = 1;
     this.list_row        = 4;
     this.auto_search     = new auto_search_class();
     this.raw_auto_scale  = true;
     this.conversion_step = new Vector2((float)1, (float)1);
     this.tile_x          = (float)1;
     this.tile_y          = (float)1;
     this.rgb             = true;
     this.file_index.Add(-1);
     this.file_foldout.Add(true);
 }
 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();
 }
 public settings_class()
 {
     this.example_display = true;
     this.cull_optimizer = true;
     this.area_max = new Rect((float)-256, (float)-256, (float)512, (float)512);
     this.color = new color_settings_class();
     this.color_scheme_display_foldout = true;
     this.remarks = true;
     this.tips = true;
     this.tip_local_area_foldout = true;
     this.prelayers_linked = -1;
     this.filters_linked = -1;
     this.subfilters_linked = -1;
     this.update = new string[]
     {
         "Don't check for updates",
         "Notify updates",
         "Download updates and notify",
         "Download updates,import and notify",
         "Download updates and import automatically"
     };
     this.grass_density = (float)32;
     this.smooth_angle = 1;
     this.resolution_density = true;
     this.resolution_density_min = 128;
     this.run_in_background = true;
     this.global_height_strength = (float)1;
     this.global_degree_strength = (float)1;
     this.colormap_auto_search = new auto_search_class();
     this.normalmap_auto_search = new auto_search_class();
     this.colormap_assign = true;
     this.display_mix_curves = true;
     this.display_log = true;
     this.filter_select_text = true;
     this.tabs = true;
     this.showTerrains = true;
     this.terrain_settings_foldout = true;
     this.editor_basemap_distance_max = 1000000;
     this.editor_detail_distance_max = 2000;
     this.editor_tree_distance_max = 50000;
     this.editor_fade_length_max = 400;
     this.editor_mesh_trees_max = 1000;
     this.runtime_basemap_distance_max = 1000000;
     this.runtime_detail_distance_max = 2000;
     this.runtime_tree_distance_max = 50000;
     this.runtime_fade_length_max = 400;
     this.runtime_mesh_trees_max = 1000;
     this.terrain_tiles_max = 5;
     this.settings_editor = true;
     this.color_splatPrototypes = new splatPrototype_class[3];
     this.splat_apply_all = true;
     this.stitch_splatmap = true;
     this.raw_search_pattern = "_x%x_y%y";
     this.raw_search_filename = "tile";
     this.raw_search_extension = ".raw";
     this.treemap = new List<tree_map_class>();
     this.grassmap = new List<grass_map_class>();
     this.mesh_path = string.Empty;
     this.load_colormap = true;
     this.load_normalmap = true;
     this.load_treemap = true;
     this.load_controlmap = true;
     this.load_bumpglobal = true;
     this.load_layers = true;
     this.load_layers_settings = true;
 }
Exemple #6
0
 public settings_class()
 {
     this.example_display = true;
     this.cull_optimizer  = true;
     this.area_max        = new Rect((float)-256, (float)-256, (float)512, (float)512);
     this.color           = new color_settings_class();
     this.color_scheme_display_foldout = true;
     this.remarks = true;
     this.tips    = true;
     this.tip_local_area_foldout = true;
     this.prelayers_linked       = -1;
     this.filters_linked         = -1;
     this.subfilters_linked      = -1;
     this.update = new string[]
     {
         "Don't check for updates",
         "Notify updates",
         "Download updates and notify",
         "Download updates,import and notify",
         "Download updates and import automatically"
     };
     this.grass_density          = (float)32;
     this.smooth_angle           = 1;
     this.resolution_density     = true;
     this.resolution_density_min = 128;
     this.run_in_background      = true;
     this.global_height_strength = (float)1;
     this.global_degree_strength = (float)1;
     this.colormap_auto_search   = new auto_search_class();
     this.normalmap_auto_search  = new auto_search_class();
     this.colormap_assign        = true;
     this.display_mix_curves     = true;
     this.display_log            = true;
     this.filter_select_text     = true;
     this.tabs                         = true;
     this.showTerrains                 = true;
     this.terrain_settings_foldout     = true;
     this.editor_basemap_distance_max  = 1000000;
     this.editor_detail_distance_max   = 2000;
     this.editor_tree_distance_max     = 50000;
     this.editor_fade_length_max       = 400;
     this.editor_mesh_trees_max        = 1000;
     this.runtime_basemap_distance_max = 1000000;
     this.runtime_detail_distance_max  = 2000;
     this.runtime_tree_distance_max    = 50000;
     this.runtime_fade_length_max      = 400;
     this.runtime_mesh_trees_max       = 1000;
     this.terrain_tiles_max            = 5;
     this.settings_editor              = true;
     this.color_splatPrototypes        = new splatPrototype_class[3];
     this.splat_apply_all              = true;
     this.stitch_splatmap              = true;
     this.raw_search_pattern           = "_x%x_y%y";
     this.raw_search_filename          = "tile";
     this.raw_search_extension         = ".raw";
     this.treemap                      = new List <tree_map_class>();
     this.grassmap                     = new List <grass_map_class>();
     this.mesh_path                    = string.Empty;
     this.load_colormap                = true;
     this.load_normalmap               = true;
     this.load_treemap                 = true;
     this.load_controlmap              = true;
     this.load_bumpglobal              = true;
     this.load_layers                  = true;
     this.load_layers_settings         = true;
 }