EnviroSky Class

Namespace
global
Interfaces
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type-.->Interface0["IWorldApiChangeHandler"] click Interface0 "/docs/client_api_10.2.0/api/WAPI/IWorldApiChangeHandler" Type["EnviroSky"] class Type type-node

Syntax

[ExecuteInEditMode]
public class EnviroSky : MonoBehaviour, IWorldApiChangeHandler

Attributes

Type Description
ExecuteInEditMode

Events

Fields

Properties

Name Value Summary
instance EnviroSky
static

Methods

Name Value Summary
ApplyProfile(EnviroProfile) void
Loads a profile into system.
AssignAndStart(GameObject, Camera) void
Assign your Player and Camera and Initilize.////
BetaMie() Vector3
BetaRay() Vector3
ChangeFocus(GameObject, Camera) void
Changes focus on other Player or Camera on runtime.////
ChangeWeather(int) void
Set weather over id with smooth transtion.
ChangeWeather(string) void
Set weather over name.
CreateEffects() void
Create Effect Holder Gmaeobjec and adds audiofeatures
CreateWeatherEffectHolder() void
EnterZone(EnviroZone) 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(Camera) bool
Helper function to get camera hdr bool for different unity versions.
GetEmissionRate(ParticleSystem) float
static
GetInHours(float, float) double
Calculate total time in hours.
GetMieG() Vector3
GetMieGScene() Vector3
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)
NotifyDayPassed() void
NotifyHourPassed() void
NotifyIsDay() void
NotifyIsNight() void
NotifyWeatherChanged(EnviroWeatherPreset) void
NotifyYearPassed() void
NotifyZoneChanged(EnviroZone) void
NotifyZoneWeatherChanged(EnviroWeatherPreset, EnviroZone) void
OnWorldChanged(WorldChangeArgs) void
Handle updates from world manager
PlayLightningEffect(Vector3) IEnumerator
RegisterZone(EnviroZone) void
ReInit() void
Re-Initilize the system.
SaveProfile() void
Saves current settings in assigned profile.
SetCameraHDR(Camera, bool) void
Helper function to set camera hdr for different unity versions.
SetEmissionRate(ParticleSystem, float) void
static
SetWeatherOverwrite(EnviroWeatherPreset) void
Set weather directly with preset of Weather.WeatherTemplates. No transtions!
SetWeatherOverwrite(int) void
Set weather directly with list id of Weather.WeatherTemplates. No transtions!
StartAsServer() void
Assign your Player and Camera and Initilize.////