Struct SkyChangeTitleAddon.Settings
- Namespace
- Nautilus.Handlers.TitleScreen
- Assembly
- Nautilus.dll
Settings pertaining to the uSkyManager class.
public struct SkyChangeTitleAddon.Settings
- Inherited Members
Constructors
Settings(float, float, float, float)
The main constructor.
public Settings(float timeOfDay = 6.8, float exposure = 0.66, float rayleighScattering = 1, float fogDensity = 0.0002)
Parameters
timeOfDay
float- The time of day, similar to 24-hour Earth time.
exposure
float- The exposure or brightness of the sky.
rayleighScattering
float- The strength of light scattering in the sky.
fogDensity
float- The strength/density of fog. Can.
Properties
Exposure
The sky's exposure value, directly correlated with the brightness of the sky.
public float Exposure { readonly get; init; }
Property Value
Remarks
Only positive values are supported. The default value is 0.66 in SN1 and 0.9 in BZ.
FogDensity
The strength/density of the fog.
public float FogDensity { readonly get; init; }
Property Value
Remarks
Only positive values are supported. The default value is 0.0002 in SN1 and 0.001 in BZ.
RayleighScattering
The strength of rayleigh scattering, affecting how strongly light scatters from particles in the atmosphere.
public float RayleighScattering { readonly get; init; }
Property Value
Remarks
Only positive values are supported. The default value is 1.0 in SN1 and 0.9 in BZ. By the way, this is what makes the sky blue.
TimeOfDay
The time of day, roughly corresponding to Earth hours.
public float TimeOfDay { readonly get; init; }
Property Value
Remarks
The default value is 6.8 in SN1 and 15.1 in BZ.
- Night (AM): 0.0–5.2
- Dawn: 5.2–6.0
- Morning: 6.0–12.0
- Noon: 12.0
- Afternoon: 12.0–18.0
- Dusk: 18.0–18.8
- Night (PM): 18.0–24.0