EnviroSkyLite Class

Namespace
global
Base Types
graph BT Type-->Base0["EnviroCore"] click Base0 "/docs/client_api_10.4.0/api/global/EnviroCore" Base0-->Base1["MonoBehaviour"] Type["EnviroSkyLite"] class Type type-node

Syntax

[ExecuteInEditMode]
public class EnviroSkyLite : EnviroCore

Attributes

Type Description
ExecuteInEditMode

Fields

Name Constant Value Summary
AdditionalLight
Inherited from EnviroCore
AssignInRuntime
Inherited from EnviroCore
Audio
Inherited from EnviroCore
audioSettings
Inherited from EnviroCore
CameraTag
Inherited from EnviroCore
cirrusAnim
Inherited from EnviroCore
cloudAnim
Inherited from EnviroCore
cloudAnimNonScaled
Inherited from EnviroCore
cloudFlatBaseAnim
Inherited from EnviroCore
cloudFlatDetailAnim
Inherited from EnviroCore
cloudsConfig
Inherited from EnviroCore
cloudsSettings
Inherited from EnviroCore
Components
Inherited from EnviroCore
currentDay
Inherited from EnviroCore
currentHour
Inherited from EnviroCore
currentTimeInHours
Inherited from EnviroCore
currentWeatherFogMod
Inherited from EnviroCore
currentWeatherLightMod
Inherited from EnviroCore
currentWeatherSkyMod
Inherited from EnviroCore
currentYear
Inherited from EnviroCore
customFogColor
Inherited from EnviroCore
customFogIntensity
Inherited from EnviroCore
customMoonPhase
Inherited from EnviroCore
dateTime
Inherited from EnviroCore
distanceBlurSettings
Inherited from EnviroCore
EffectsHolder
Inherited from EnviroCore
EnviroPostProcessing
Inherited from EnviroCore
EnviroSkyRender
EnviroVegetationInstances
Inherited from EnviroCore
Fog
Inherited from EnviroCore
fogSettings
Inherited from EnviroCore
frames
Inherited from EnviroCore
GameTime
Inherited from EnviroCore
hourTime
Inherited from EnviroCore
interiorMode
Inherited from EnviroCore
interiorZoneSettings
Inherited from EnviroCore
internalHour
Inherited from EnviroCore
isNight
Inherited from EnviroCore
lastAmbientSkyUpdate
Inherited from EnviroCore
lastHourUpdate
Inherited from EnviroCore
lastInteriorZone
Inherited from EnviroCore
lastRelfectionPositionUpdate
Inherited from EnviroCore
lastRelfectionUpdate
Inherited from EnviroCore
lightingUpdateEachFrames
Inherited from EnviroCore
lightningEffect
Inherited from EnviroCore
lightSettings
Inherited from EnviroCore
LightShafts
Inherited from EnviroCore
lightshaftsSettings
Inherited from EnviroCore
LST
Inherited from EnviroCore
MainLight
Inherited from EnviroCore
moonRenderingLayer
Inherited from EnviroCore
MoonTransform
Inherited from EnviroCore
particleClouds
Inherited from EnviroCore
pi
Inherited from EnviroCore
static
Player
Inherited from EnviroCore
PlayerCamera
Inherited from EnviroCore
PlayerTag
Inherited from EnviroCore
profile
Inherited from EnviroCore
profileLoaded
Inherited from EnviroCore
qualitySettings
Inherited from EnviroCore
reflectionSettings
Inherited from EnviroCore
satelliteRenderingLayer
Inherited from EnviroCore
satellites
Inherited from EnviroCore
satelliteSettings
Inherited from EnviroCore
satellitesRotation
Inherited from EnviroCore
Seasons
Inherited from EnviroCore
seasonsSettings
Inherited from EnviroCore
serverMode
Inherited from EnviroCore
setCameraClearFlags
Inherited from EnviroCore
shadowIntensityMod
Inherited from EnviroCore
showFogInEditor
showSettings
skyMat
skySettings
Inherited from EnviroCore
started
Inherited from EnviroCore
startMode
Inherited from EnviroCore
thunder
Inherited from EnviroCore
tonemapping
Inherited from EnviroCore
updateFogDensity
Inherited from EnviroCore
useParticleClouds
usePostEffectFog
volumeLightSettings
Inherited from EnviroCore
Weather
Inherited from EnviroCore
weatherSettings
Inherited from EnviroCore
windIntensity
Inherited from EnviroCore

Properties

Name Value Summary
instance EnviroSkyLite
static

Methods

Name Value Summary
Activate() void
ApplyProfile(EnviroProfile) void
Loads a profile into system.
Inherited from EnviroCore
AssignAndStart(GameObject, Camera) void
Assign your Player and Camera and Initilize.////
BetaMie(float, Vector3) Vector3
Inherited from EnviroCore
BetaRay(Vector3) Vector3
Inherited from EnviroCore
CalculateDirectLight() void
Updates direct lighting.
Inherited from EnviroCore
CalculateMoonPosition(float, float) void
Inherited from EnviroCore
CalculateSatPositions(float) void
Inherited from EnviroCore
CalculateStarsPosition(float) void
Inherited from EnviroCore
CalculateSunPosition(float, float, bool) void
Inherited from EnviroCore
CalcWeatherTransitionState() void
Check if clouds already full rolled up to start thunder effects.
Inherited from EnviroCore
ChangeFocus(GameObject, Camera) void
Changes focus on other Player or Camera on runtime.////
ChangeSeason(EnviroSeasons.Seasons) void
Manual change of Season
Inherited from EnviroCore
ChangeWeather(EnviroWeatherPreset) void
Set weather over id with smooth transtion.
Inherited from EnviroCore
ChangeWeather(int) void
Set weather over id with smooth transtion.
Inherited from EnviroCore
ChangeWeather(string) void
Set weather over name.
Inherited from EnviroCore
CheckSatellites() void
Destroy and recreate all satellites
Inherited from EnviroCore
CreateDirectionalLight(bool) Transform
Inherited from EnviroCore
CreateEffects(string) void
Create Effect Holder Gameobject and adds audiofeatures.
Inherited from EnviroCore
CreateSatellite(int) void
Instantiates a new satellite
Inherited from EnviroCore
CreateSystemDate() DateTime
Inherited from EnviroCore
CreateWeatherEffectHolder(string) void
Create Effect Holder Gameobject
Inherited from EnviroCore
Deactivate(bool) void
EnterZone(EnviroZone) void
Inherited from EnviroCore
ExitZone() void
Inherited from EnviroCore
ForceWeatherUpdate() void
Forces a internal Weather Update and applies current active weatherpreset values and send out a weather changed event!
Inherited from EnviroCore
GetActiveWeatherID() int
Get Active Weather ID
Inherited from EnviroCore
GetCameraHDR(Camera) bool
Helper function to get camera hdr bool for different unity versions.
Inherited from EnviroCore
GetInHours(float, float, float, int) double
Calculate total time in hours.
Inherited from EnviroCore
GetMieG(float) Vector3
Inherited from EnviroCore
GetMieGScene(float) Vector3
Inherited from EnviroCore
GetTimeOfDay() float
Get current time in hours with UTC time offset.
Inherited from EnviroCore
GetTimeString() string
Get current time in a nicely formatted string!
Inherited from EnviroCore
GetTimeStringWithSeconds() string
Get current time in a nicely formatted string with seconds!
Inherited from EnviroCore
GetUniversalTimeOfDay() float
Get current time in hours. UTC0 (12.5 = 12:30)
Inherited from EnviroCore
InstantWeatherChange(EnviroWeatherPreset, EnviroWeatherPrefab) void
Changes clouds, fog and particle effects to current weather settings instantly.
Load() void
Loads the saved time and weather from Playerprefs.
Inherited from EnviroCore
OrbitalToLocal(float, float) Vector3
Inherited from EnviroCore
Play(EnviroTime.TimeProgressMode) void
PlayAmbient(AudioClip) void
Inherited from EnviroCore
PlayLightning() void
Inherited from EnviroCore
PlayLightningEffect(Vector3) IEnumerator
Inherited from EnviroCore
PlayThunderRandom() IEnumerator
Inherited from EnviroCore
RegisterMe(EnviroVegetationInstance) int
Called internaly from growth objects
Inherited from EnviroCore
RegisterZone(EnviroZone) void
Inherited from EnviroCore
ReInit() void
Re-Initilize the system.
Remap(float, float, float, float, float) float
Inherited from EnviroCore
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 time change.
Inherited from EnviroCore
Save() void
Saves the current time and weather in Playerprefs.
Inherited from EnviroCore
SaveProfile() void
Saves current settings in assigned profile.
Inherited from EnviroCore
SetCameraHDR(Camera, bool) void
Helper function to set camera hdr for different unity versions.
Inherited from EnviroCore
SetGameTime() void
Updates Game Time days and years. Used internaly only.
Inherited from EnviroCore
SetInternalTime(int, int, int, int, int) void
Inherited from EnviroCore
SetInternalTimeOfDay(float) void
Set the time of day in hours. (12.5 = 12:30)
Inherited from EnviroCore
SetTime(DateTime) void
Set the exact date. by DateTime
Inherited from EnviroCore
SetTime(int, int, int, int, int) void
Set the exact date.
Inherited from EnviroCore
SetupSkybox() void
Creation and assignment of skybox
SetWeatherOverwrite(EnviroWeatherPreset) void
Set weather directly with preset of Weather.WeatherTemplates. No transtions!
Inherited from EnviroCore
SetWeatherOverwrite(int) void
Set weather directly with list id of Weather.WeatherTemplates. No transtions!
Inherited from EnviroCore
StartAsServer() void
Assign your Player and Camera and Initilize.////
Stop(bool, bool) void
TryPlayAmbientSFX() void
Inherited from EnviroCore
UpdateAmbientLight() void
Updates ambient lighting.
Inherited from EnviroCore
UpdateAudioSource(EnviroWeatherPreset) void
Inherited from EnviroCore
UpdateEnviroment() void
Inherited from EnviroCore
UpdateParticleClouds(bool) void
Inherited from EnviroCore
UpdateReflections() void
Updates reflection probe.
Inherited from EnviroCore
UpdateSatellitePosition(float, float, float) Vector3
Inherited from EnviroCore
UpdateSceneView() void
Updates lighting and sky in scene view to match runtime settings on start.
Inherited from EnviroCore
UpdateSeason() void
Updates and switches seasons
Inherited from EnviroCore
UpdateSunAndMoonPosition() void
Inherited from EnviroCore
UpdateTime(int) void
Inherited from EnviroCore
UpdateWeatherVariables(EnviroWeatherPreset) void
Inherited from EnviroCore
UpdateWind(EnviroWeatherPreset) void
Update Wind Settings
Inherited from EnviroCore