private float androidMoonDistance | Distance the Android moon is drawn from the player. |
private Material androidMoonMaterial | Material for the Android moon quad. |
private float androidMoonSize | Size of the Android moon quad. |
private AnimationCurve audioSplitTowardsDay | Share of ambience volume given to day audio over sun progress; the rest goes to night audio. |
private bool btnConvert | Editor button field, "Convert Sky Color". |
private bool btnStopUpdating | Editor button field, "Stop Updating". |
private Gradient cloudsColorOverDay | Cloud colour over sun progress. |
private Color currentAmbience | Backing field for CurrentAmbience. |
private float currentVolumeSplit | Private: current share of volume for day audio. |
private float debugDayProgress | Editor: day progress used when useDebugValueAtRuntime is set. |
private float debugMonthProgress | Editor: month progress used when useDebugValueAtRuntime is set. |
private float dotMoonUp | Private: how high the moon is, used for the moon ambience and light curves. |
private float fogAndroidMultiplier | Fog density multiplier on Android. |
private Gradient fogColorDuringDay | Fog colour over the full day cycle. |
private AnimationCurve fogDensityDuringDay | Fog density over the full day cycle. |
private GameTimeManager gameTimeManager | Source of day progress, month progress and the day to night ratio. |
private AnimationCurve haloInverseSizeOverDay | Sun halo size value over the full cycle, sent to the skybox. |
private Material instantiatedAndroidMoonMaterial | Private: editor copy of the Android moon material. |
private Material instantiatedSkyboxMaterial | Private: editor copy of the skybox material. |
private bool isRenderingGizmos | Serialized editor flag. Not read in the server build. |
private bool isUpdatingDaytime | Private: false when the server's FixedDaytime setting is 0 or more, so the sun stays put. |
private float lastDayProgress | Private: full cycle position from the last ambience update, used for fog. |
private float lastFixedDaytime | Private: last fixed daytime seen. Starts at -1 and is not updated in this build. |
private LerpingFloatValue LightIntensityModifier | Private: lerps the sun and moon light strength when the plugin is enabled or disabled. |
private static readonly Logger logger | Private: logger. |
private Gradient moonAmbience | Ambient colour by moon height. |
private float moonFadeInTime | Seconds the moonlight takes to fade in after the sun goes off. Defaults to 30. |
private LerpingFloatGetValue MoonLerpInModifier | Private: fades the moonlight in over moonFadeInTime once the sun sets. |
private Light moonLight | The moon's directional light. |
private AnimationCurve moonLightIntensityCurve | Moonlight strength by moon height. |
private static Mesh moonMesh | Private static: the quad drawn as the Android moon. |
private Transform moonRotator | Transform turned by month progress to move the moon. |
private Vector3 moonSpiningAxis | Axis the moon turns around. |
private float moonToSunDotShift | Sun height (negative, below the horizon) where ambience starts blending from moon to sun. |
private Vector3 moonVector | Private: direction to the moon. |
private AmbienceAudio nightSource | Night ambience audio, mixed against the main source. Destroyed on headless. |
private float nightTimeShift | Serialized value, defaults to -0.004. Not read in this build. |
private Gradient skyBotcolor | Bottom sky colour over the full cycle. |
private Material skyBoxMaterial | The skybox material this manager drives. |
private AnimationCurve skyColorBotBending | Bottom sky gradient bend over the full cycle. |
private LerpingFloatValue skyColorFade | Private: lerps the sky in and out when the plugin is enabled or disabled. |
private AnimationCurve skyColorMidPointPosition | Where the middle sky colour sits over the full cycle. |
private Gradient skyColorRelatedToSun | Editor reference gradient only. |
private AnimationCurve skyColorTopBending | Top sky gradient bend over the full cycle. |
private Gradient skyMidcolor | Middle sky colour over the full cycle. |
private Gradient skyTopcolor | Top sky colour over the full cycle. |
private Gradient sunAmbience | Ambient colour over sun progress. |
private Gradient sunColor | Sun disc colour over sun progress, sent to the skybox. |
private AnimationCurve sunInverseSizeOverDay | Sun disc size value over sun progress, sent to the skybox. |
private Light sunLight | The sun's directional light. |
private Gradient sunlightDuringDay | Sunlight colour over sun progress. |
private AnimationCurve sunLightIntensityCurve | Sunlight strength over sun progress. |
private float sunProgress | Private: where the sun is in its half cycle, used by most day curves. |
private Transform sunRotator | Transform turned by day progress to move the sun. |
private Vector3 sunSpiningAxis | Axis the sun turns around. |
private float sunUpSkew | Degrees added so the sun spends longer above the horizon. |
private MethodSync syncFixedDaytime | Private: message for SyncFixedDaytime, sent on the atmosphere manager's entity. |
private bool useDebugValueAtRuntime | Editor: use the debug day and month progress while playing. |
private bool wasEnabled | Private: whether the moonlight is on, so its fade in runs once per night. |