Exemple #1
0
        public void ApplyParameters()
        {
            pp.LoadParameters();

            SkyboxManager manager = AIGraphics.Instance.SkyboxManager;

            if (manager)
            {
                manager.skyboxParams = skybox;
                manager.LoadSkyboxParams();
            }
        }
Exemple #2
0
        public void ApplyParameters()
        {
            pp.LoadParameters();

            SkyboxManager manager = Graphics.Instance.SkyboxManager;

            if (manager)
            {
                if (skyboxSetting != null)
                {
                    manager.dynSkyboxSetting = skyboxSetting;
                }
                manager.skyboxParams = skybox;
                manager.PresetUpdate = true;
                manager.LoadSkyboxParams();
            }
        }