- Namespace
- global
- Base Types
-
- MonoBehaviour
- Derived Types
graph BT
Type-->Base0["MonoBehaviour"]
Type["EnviroCore"]
class Type type-node
Derived0["EnviroSkyLite"]-->Type
click Derived0 "/docs/client_api_10.4.0/api/global/EnviroSkyLite"
Syntax
public class EnviroCore : MonoBehaviour
Fields
Methods
Name | Value | Summary |
---|---|---|
ApplyProfile |
void |
Loads a profile into system.
|
BetaMie |
Vector3 | |
BetaRay |
Vector3 | |
CalculateDirectLight |
void |
Updates direct lighting.
|
Calculate |
void | |
Calculate |
void | |
Calculate |
void | |
CalculateSunPosition |
void | |
Calc |
void |
Check if clouds already full rolled up to start thunder effects.
|
ChangeSeason |
void |
Manual change of Season
|
ChangeWeather |
void |
Set weather over id with smooth transtion.
|
ChangeWeather |
void |
Set weather over id with smooth transtion.
|
ChangeWeather |
void |
Set weather over name.
|
CheckSatellites |
void |
Destroy and recreate all satellites
|
Create |
Transform | |
CreateEffects |
void |
Create Effect Holder Gameobject and adds audiofeatures.
|
CreateSatellite |
void |
Instantiates a new satellite
|
CreateSystemDate |
DateTime | |
Create |
void |
Create Effect Holder Gameobject
|
EnterZone |
void | |
ExitZone |
void | |
ForceWeatherUpdate |
void |
Forces a internal Weather Update and applies current active weatherpreset values and send out a weather changed event!
|
GetActiveWeatherID |
int |
Get Active Weather ID
|
GetCameraHDR |
bool |
Helper function to get camera hdr bool for different unity versions.
|
GetInHours |
double |
Calculate total time in hours.
|
GetMieG |
Vector3 | |
GetMieGScene |
Vector3 | |
GetTimeOfDay |
float |
Get current time in hours with UTC time offset.
|
GetTimeString |
string |
Get current time in a nicely formatted string!
|
Get |
string |
Get current time in a nicely formatted string with seconds!
|
Get |
float |
Get current time in hours. UTC0 (12.5 = 12:30)
|
Load |
void |
Loads the saved time and weather from Playerprefs.
|
OrbitalToLocal |
Vector3 | |
PlayAmbient |
void | |
PlayLightning |
void | |
PlayLightningEffect |
IEnumerator | |
PlayThunderRandom |
IEnumerator | |
RegisterMe |
int |
Called internaly from growth objects
|
RegisterZone |
void | |
Remap |
float | |
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.
|
Save |
void |
Saves the current time and weather in Playerprefs.
|
SaveProfile |
void |
Saves current settings in assigned profile.
|
SetCameraHDR |
void |
Helper function to set camera hdr for different unity versions.
|
SetGameTime |
void |
Updates Game Time days and years. Used internaly only.
|
SetInternalTime |
void | |
SetInternalTimeOfDay |
void |
Set the time of day in hours. (12.5 = 12:30)
|
SetTime |
void |
Set the exact date. by DateTime
|
SetTime |
void |
Set the exact date.
|
SetWeatherOverwrite |
void |
Set weather directly with preset of Weather.WeatherTemplates. No transtions!
|
SetWeatherOverwrite |
void |
Set weather directly with list id of Weather.WeatherTemplates. No transtions!
|
TryPlayAmbientSFX |
void | |
UpdateAmbientLight |
void |
Updates ambient lighting.
|
UpdateAudioSource |
void | |
UpdateEnviroment |
void | |
UpdateParticleClouds |
void | |
UpdateReflections |
void |
Updates reflection probe.
|
Update |
Vector3 | |
UpdateSceneView |
void |
Updates lighting and sky in scene view to match runtime settings on start.
|
UpdateSeason |
void |
Updates and switches seasons
|
Update |
void | |
UpdateTime |
void | |
Update |
void | |
UpdateWind |
void |
Update Wind Settings
|