EnviroSkyMgr Class

Namespace
global
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type["EnviroSkyMgr"] class Type type-node

Syntax

public class EnviroSkyMgr : MonoBehaviour

Events

Fields

Properties

Name Value Summary
ambientAudioVolume float
Get and Set ambient audio volume
ambientAudioVolumeModifier float
Get and Set ambient audio volume modifier
AudioSettings EnviroAudio
Enviro Audio Settings
audioTransitionSpeed float
Get and set audio transition speed
Camera Camera
Enviro Camera Reference
Clouds EnviroWeatherCloudsConfig
Enviro Cloud Config
CloudSettings EnviroCloudSettings
Enviro Cloud Settings
Components EnviroComponents
Enviro Components References
CustomFogColor Color
Set and get custom fog color
CustomFogIntensity float
Set and Get custom fog intensity
FogSettings EnviroFogSettings
Enviro Fog Settings
instance EnviroSkyMgr
static
interiorMode bool
Get and Set interior mode used by InteriorZones
interiorZoneAudioFadingSpeed float
Get and set interior zone audio fading speed
interiorZoneAudioVolume float
Get and set interior zone audio volume
InteriorZoneSettings EnviroInteriorZoneSettings
Enviro Cloud Settings
lastInteriorZone EnviroInterior
Get and Set last Interior zone
LightSettings EnviroLightSettings
Enviro Lighting Settings
LightShaftsSettings EnviroLightShaftsSettings
Enviro Volume Lighting Settings
Player GameObject
Enviro Player Reference
QualitySettings EnviroQualitySettings
Enviro Quality Settings
ReflectionSettings EnviroReflectionSettings
Enviro Reflection Settings
Seasons EnviroSeasons
Enviro Seasons Settings
SeasonSettings EnviroSeasonSettings
Enviro Seasons Settings
SkySettings EnviroSkySettings
Enviro Lighting Settings
Time EnviroTime
Enviro Time Settings
Tonemapping bool
Set or Get Enviro tonemapping setting.
UpdateFogIntensity bool
Activate or deactivate setting of unity Fog Density.
useAurora bool
Enable/Disable Aurora Effect
useDistanceBlur bool
Enable/Disable distance blurring
useFlatClouds bool
Enable/Disable flat clouds
useFog bool
Enable/Disable fog rendering
useMoonShafts bool
Enable/Disable moon light shafts clouds
useParticleClouds bool
Enable/Disable flat clouds
useSunShafts bool
Enable/Disable sun light shafts clouds
useVolumeClouds bool
Enable/Disable Volumn Clouds
useVolumeLighting bool
Enable/Disable Volumn Lighting
VolumeLightSettings EnviroVolumeLightingSettings
Enviro Volume Lighting Settings
Weather EnviroWeather
Enviro weather runtime values
weatherAudioVolume float
Get and Set weather audio volume
weatherAudioVolumeModifier float
Get and Set weather audio volume modifier
WeatherSettings EnviroWeatherSettings
Enviro Cloud Config

Methods

Name Value Summary
AssignAndStart(GameObject, Camera) void
Assigns Player and Camera and starts current enviro instance.
ChangeFocus(GameObject, Camera) void
Changes Player and Camera.
ChangeSeason(EnviroSeasons.Seasons) void
Set the time of day in hours. (12.5 = 12:30)
ChangeWeather(EnviroWeatherPreset) void
Set weather over Preset with smooth transtion.
ChangeWeather(int) void
Set weather over id with smooth transtion.
ChangeWeather(string) void
Set weather over Name with smooth transtion.
ChangeWeatherInstant(EnviroWeatherPreset) void
Set weather directly with preset of Weather.WeatherTemplates. No transtions!
ChangeWeatherInstant(int) void
Set weather directly with list id of Weather.WeatherTemplates. No transtions!
ChangeZoneWeather(int, int) void
DeleteHDInstance() void
DeleteLWInstance() void
GetAssetPrefab(string) GameObject
GetCurrentActiveZone() EnviroZone
GetCurrentDay() int
Get current Day.
GetCurrentHour() int
Get current hour.
GetCurrentMinute() int
Get current minutes.
GetCurrentMonth() int
Get current Month.
GetCurrentSeason() EnviroSeasons.Seasons
GetCurrentSecond() int
Get current minutes.
GetCurrentTemperatureString() string
Get current temperature.
GetCurrentTimeInHours() double
GetCurrentWeatherPrefabList() List<EnviroWeatherPrefab>
GetCurrentWeatherPreset() EnviroWeatherPreset
GetCurrentWeatherPresetList() List<EnviroWeatherPreset>
GetCurrentYear() int
Get current year.
GetDateAsDateTime() DateTime
Get a DateTime.
GetEmissionRate(ParticleSystem) float
GetEnviroSkyTag() string
GetInHours(float, float, float) double
GetSnowIntensity() float
GetStartWeatherPreset() EnviroWeatherPreset
GetTimeOfDay() float
Get current time in hours with UTC offset. (12.5 = 12:30)
GetTimeString() string
Get current time in a nicely formatted string!
GetTimeStringWithSeconds() string
Get current time in a nicely formatted string with seconds!
GetUniversalTimeOfDay() float
Get current time in hours. UTC0 (12.5 = 12:30)
GetUseWeatherTag() bool
GetVFXHolder() GameObject
GetWetnessIntensity() float
GetZoneByID(int) EnviroZone
GetZoneList() List<EnviroZone>
HasInstance() bool
InstantWeatherChange(EnviroWeatherPreset, EnviroWeatherPrefab) void
IsAutoWeatherUpdateActive() bool
IsAvailable() bool
IsDefaultZone(GameObject) bool
IsEnviroSkyAttached(GameObject) bool
IsInterior() bool
IsNight() bool
IsStarted() bool
NotifyDayPassed() void
NotifyHourPassed() void
NotifyIsDay() void
NotifyIsNight() void
NotifySeasonChanged(EnviroSeasons.Seasons) void
NotifyWeatherChanged(EnviroWeatherPreset) void
NotifyYearPassed() void
NotifyZoneChanged(EnviroZone) void
NotifyZoneWeatherChanged(EnviroWeatherPreset, EnviroZone) void
RegisterVegetationInstance(EnviroVegetationInstance) void
RegisterZone(EnviroZone) void
ReInit() void
Re Initilize Enviro Instance
ResetHourEventTimer() void
Set the hourly event time to current hour. Use this if you change date and want to reset hourly events to be executed in next hour after you changed date.
SearchForEnviroInstances() void
SetAutoWeatherUpdates(bool) void
SetCurrentActiveZone(EnviroZone) void
SetDays(int) void
Sets the days.
SetEmissionRate(ParticleSystem, float) void
SetLightningFlashTrigger(float) void
Triggers a ligtning flash when setting higher than zero.
SetTime(DateTime) void
Set the exact date. by DateTime
SetTime(int, int, int, int, int) void
Set the exact date.
SetTimeOfDay(float) void
Set the time of day in hours. (12.5 = 12:30)
SetTimeProgress(EnviroTime.TimeProgressMode) void
Set time progession modes. For example to stop time progression.
SetToZone(int) void
SetupSkybox() void
Setup Skybox
SetYears(int) void
Sets the year.
StartAsServer() void
Starts current enviro instance as server.