Example #1
0
 public material_class()
 {
     this.material       = new List <Material>();
     this.combine_count  = new List <int>();
     this.combine_parent = new List <GameObject>();
     this.material_value = new value_class();
     this.add_material(0);
 }
Example #2
0
 public tree_output_class()
 {
     this.color_tree        = new Color((float)2, (float)2, (float)2, (float)1);
     this.foldout           = true;
     this.strength          = (float)1;
     this.interface_display = true;
     this.icon_display      = true;
     this.trees_active      = true;
     this.trees_foldout     = true;
     this.tree_text         = "Tree:";
     this.scale             = (float)1;
     this.tree       = new List <tree_class>();
     this.tree_value = new value_class();
 }
Example #3
0
 public grass_output_class()
 {
     this.active               = true;
     this.foldout              = true;
     this.color_grass          = new Color((float)2, (float)2, (float)2, (float)1);
     this.strength             = (float)1;
     this.grass_text           = "Grass:";
     this.mix                  = new List <float>();
     this.animation_curve_math = new animation_curve_math_class();
     this.curves               = new List <animation_curve_class>();
     this.grass                = new List <grass_class>();
     this.grass_value          = new value_class();
     this.grass_calc           = new List <float>();
     this.add_grass(0);
 }
 public grass_output_class()
 {
     this.active = true;
     this.foldout = true;
     this.color_grass = new Color((float)2, (float)2, (float)2, (float)1);
     this.strength = (float)1;
     this.grass_text = "Grass:";
     this.mix = new List<float>();
     this.animation_curve_math = new animation_curve_math_class();
     this.curves = new List<animation_curve_class>();
     this.grass = new List<grass_class>();
     this.grass_value = new value_class();
     this.grass_calc = new List<float>();
     this.add_grass(0);
 }
Example #5
0
 public object_output_class()
 {
     this.foldout            = true;
     this.color_object       = new Color((float)2, (float)2, (float)2, (float)1);
     this.icon_display       = true;
     this.objects_active     = true;
     this.objects_foldout    = true;
     this.strength           = (float)1;
     this.interface_display  = true;
     this.object_text        = "Object:";
     this.scale              = (float)1;
     this.objects_placed     = new List <Vector3>();
     this.objects_placed_rot = new List <Vector3>();
     this.@object            = new List <object_class>();
     this.object_value       = new value_class();
     this.rotation_map       = new rotation_map_class();
 }
 public splat_output_class()
 {
     this.foldout = true;
     this.color_splat = new Color((float)2, (float)2, (float)2, (float)1);
     this.strength = (float)1;
     this.mix = new List<float>();
     this.splat_text = "Splat:";
     this.curves = new List<animation_curve_class>();
     this.animation_curve_math = new animation_curve_math_class();
     this.splat = new List<int>();
     this.splat_value = new value_class();
     this.splat_calc = new List<float>();
     this.swap_text = new List<string>();
     for (int i = 0; i < 3; i++)
     {
         this.add_splat(i, i);
     }
 }
Example #7
0
 public splat_output_class()
 {
     this.foldout              = true;
     this.color_splat          = new Color((float)2, (float)2, (float)2, (float)1);
     this.strength             = (float)1;
     this.mix                  = new List <float>();
     this.splat_text           = "Splat:";
     this.curves               = new List <animation_curve_class>();
     this.animation_curve_math = new animation_curve_math_class();
     this.splat                = new List <int>();
     this.splat_value          = new value_class();
     this.splat_calc           = new List <float>();
     this.swap_text            = new List <string>();
     for (int i = 0; i < 3; i++)
     {
         this.add_splat(i, i);
     }
 }
 public precolor_range_class(int length, bool one_color1)
 {
     this.foldout = true;
     this.color_ranges_active = true;
     this.color_ranges_foldout = true;
     this.curve_red = new AnimationCurve();
     this.curve_green = new AnimationCurve();
     this.curve_blue = new AnimationCurve();
     this.animation_curve_math = new animation_curve_math_class();
     this.interface_display = true;
     this.text = "Color Range:";
     this.detect_max = 8;
     this.color_range = new List<color_range_class>();
     this.color_range_value = new value_class();
     for (int i = 0; i < length; i++)
     {
         this.add_color_range(i, one_color1);
     }
     this.one_color = one_color1;
     this.set_color_range_text();
     this.set_precolor_range_curve();
 }
 public precolor_range_class(int length, bool one_color1)
 {
     this.foldout              = true;
     this.color_ranges_active  = true;
     this.color_ranges_foldout = true;
     this.curve_red            = new AnimationCurve();
     this.curve_green          = new AnimationCurve();
     this.curve_blue           = new AnimationCurve();
     this.animation_curve_math = new animation_curve_math_class();
     this.interface_display    = true;
     this.text              = "Color Range:";
     this.detect_max        = 8;
     this.color_range       = new List <color_range_class>();
     this.color_range_value = new value_class();
     for (int i = 0; i < length; i++)
     {
         this.add_color_range(i, one_color1);
     }
     this.one_color = one_color1;
     this.set_color_range_text();
     this.set_precolor_range_curve();
 }