Beispiel #1
0
 public WindControllerSettings CreateDefaultSettings()
 {
     Settings = new WindControllerSettings
     {
         WindControlerID = WindControlerID,
         Heading         = "CTI Wind Settings"
     };
     Settings.AddFloatProperty("WindSpeed", "Wind Speed", "", 1f, 0, 3);
     RefreshSettings();
     return(Settings);
 }
Beispiel #2
0
        public WindControllerSettings CreateDefaultSettings()
        {
            Settings = new WindControllerSettings
            {
                WindControlerID = WindControlerID,
                Heading         = "Vegetation Studio Grass Wind Settings"
            };

            Settings.AddTextureProperty("AW_WavesTex", "Wind Waves", "", Resources.Load("PerlinSeamless") as Texture2D);
            Settings.AddFloatProperty("WindWaveSize", "Wind Wave Size", "", 10, 0, 30);
            Settings.AddFloatProperty("WindSpeed", "Wind Speed", "", 1f, 0, 3);
            RefreshSettings();
            return(Settings);
        }
Beispiel #3
0
        public WindControllerSettings CreateDefaultSettings()
        {
            Settings = new WindControllerSettings
            {
                WindControlerID = WindControlerID,
                Heading         = "Fantasy Adventure Environment Wind Settings"
            };

            Settings.AddTextureProperty("Windvectors", "Windvectors", "", Resources.Load("FAE_Windvectors") as Texture2D);
            Settings.AddFloatProperty("WindSpeed", "Base Wind Speed", "", 0.33f, 0, 10);
            Settings.AddFloatProperty("WindStrength", "Wind Strength", "", 1f, 0, 3);
            Settings.AddFloatProperty("WindAmplitude", "Wind Amplitude", "", 14f, 0, 20);
            Settings.AddLabelProperty(" ");
            Settings.AddFloatProperty("TrunkWindSpeed", "Trunk Wind Speed", "", 10f, 0, 150);
            Settings.AddFloatProperty("TrunkWindWeight", "Trunk Wind Weight", "", 4f, 0, 30);
            Settings.AddFloatProperty("TrunkWindSwinging", "Trunk Wind Swinging", "", 0.5f, 0, 0.99f);
            RefreshSettings();
            return(Settings);
        }
Beispiel #4
0
        public WindControllerSettings CreateDefaultSettings()
        {
            Settings = new WindControllerSettings
            {
                WindControlerID = WindControlerID,
                Heading         = "HD Wind Settings"
            };

            Settings.AddFloatProperty("WindSpeed", "Base Wind Speed (km/h)", "", 45, 0, 120);
            Settings.AddFloatProperty("Turbulence", "Turbulence", "", 0.4f, 0, 2);
            Settings.AddLabelProperty(" ");
            Settings.AddTextureProperty("3DNoise", "3D Noise", "", Resources.Load("3DNoise") as Texture2D);
            Settings.AddFloatProperty("FlexNoiseWorldSize", "Flex Noise World Size", "", 150f, 0, 1000);
            Settings.AddFloatProperty("ShiverNoiseWorldSize", "Shiver Noise World Size", "", 60, 0, 300);
            Settings.AddLabelProperty(" ");
            Settings.AddTextureProperty("GustNoise", "Gust Noise", "", Resources.Load("GustNoise") as Texture2D);
            Settings.AddFloatProperty("GustWorldSize", "Gust World Size", "", 600, 0, 2000);
            Settings.AddFloatProperty("GustSpeed", "Gust Speed", "", 20, 0, 100);
            Settings.AddFloatProperty("GustScale", "Gust Scale", "", 0.35f, 0, 5);

            RefreshSettings();
            return(Settings);
        }