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