com.iron-mountain.day-night-cycle
v1.0.5
Published
Scripted lighting settings, including configurations for day/night cycles, fog, skyboxes, and light sources.
Downloads
127
Readme
Day/Night Cycle
Version: 1.0.5
Description:
Scripted lighting settings, including configurations for day/night cycles, fog, skyboxes, and light sources.
Use Cases:
- Managing ambient lighting, directional light directions, fog, and skybox at different times of the day.
Package Mirrors:
Key Scripts & Components:
- public class DynamicLightColor : MonoBehaviour
- public static class GameTimeSystem
- public class GameTimeSystemDebugger : MonoBehaviour
- public enum TimeMode : Enum
Ambient Lighting
- public class AmbientLightingManager : MonoBehaviour
- Properties:
- public ScriptedAmbientLightingSettings ScriptedSettings { get; set; }
- public IAmbientLightingSettings Settings { get; }
- Methods:
- public void ResetToInitialState()
- Properties:
- public class AmbientLightingSettings
- Properties:
- public AmbientMode Mode { get; }
- public float Intensity { get; }
- public Color SkyColor { get; }
- public Color EquatorColor { get; }
- public Color GroundColor { get; }
- Properties:
- public interface IAmbientLightingSettings
- Properties:
- public AmbientMode Mode { get; }
- public float Intensity { get; }
- public Color SkyColor { get; }
- public Color EquatorColor { get; }
- public Color GroundColor { get; }
- Properties:
- public abstract class ScriptedAmbientLightingSettings : ScriptableObject
- Properties:
- public AmbientMode Mode { get; }
- public float Intensity { get; }
- public Color SkyColor { get; }
- public Color EquatorColor { get; }
- public Color GroundColor { get; }
- Properties:
- public class ScriptedAmbientLightingSettingsDynamic : ScriptedAmbientLightingSettings
- Properties:
- public float Intensity { get; }
- public Color SkyColor { get; }
- public Color EquatorColor { get; }
- public Color GroundColor { get; }
- Properties:
- public class ScriptedAmbientLightingSettingsStatic : ScriptedAmbientLightingSettings
- Properties:
- public float Intensity { get; }
- public Color SkyColor { get; }
- public Color EquatorColor { get; }
- public Color GroundColor { get; }
- Properties:
Fog
- public class FogManager : MonoBehaviour
- Properties:
- public ScriptedFogSettings ScriptedFogSettings { get; set; }
- public IFogSettings Settings { get; }
- Methods:
- public void ResetToInitialState()
- Properties:
- public class FogSettings
- Properties:
- public Boolean Enabled { get; set; }
- public FogMode Mode { get; set; }
- public Color Color { get; set; }
- public float Density { get; set; }
- public float StartDistance { get; set; }
- public float EndDistance { get; set; }
- Properties:
- public interface IFogSettings
- Properties:
- public Boolean Enabled { get; }
- public FogMode Mode { get; }
- public Color Color { get; }
- public float Density { get; }
- public float StartDistance { get; }
- public float EndDistance { get; }
- Properties:
- public abstract class ScriptedFogSettings : ScriptableObject
- Properties:
- public Boolean Enabled { get; }
- public FogMode Mode { get; }
- public Color Color { get; }
- public float Density { get; }
- public float StartDistance { get; }
- public float EndDistance { get; }
- Properties:
- public class ScriptedFogSettingsDynamic : ScriptedFogSettings
- Properties:
- public Color Color { get; }
- public float Density { get; }
- public float StartDistance { get; }
- public float EndDistance { get; }
- Properties:
- public class ScriptedFogSettingsStatic : ScriptedFogSettings
- Properties:
- public Color Color { get; }
- public float Density { get; }
- public float StartDistance { get; }
- public float EndDistance { get; }
- Properties:
Gradient Skybox
- public class GradientSkyboxManager : MonoBehaviour
- Properties:
- public ScriptedGradientSkyboxSettings ScriptedSettings { get; set; }
- public IGradientSkyboxSettings Settings { get; }
- Methods:
- public void ResetToInitialState()
- public void OnEnable()
- public void Update()
- Properties:
- public class GradientSkyboxSettings
- Properties:
- public float Intensity { get; }
- public float Exponent1 { get; }
- public float Exponent2 { get; }
- public Color TopColor { get; }
- public Color MiddleColor { get; }
- public Color BottomColor { get; }
- Properties:
- public interface IGradientSkyboxSettings
- Properties:
- public float Intensity { get; }
- public float Exponent1 { get; }
- public float Exponent2 { get; }
- public Color TopColor { get; }
- public Color MiddleColor { get; }
- public Color BottomColor { get; }
- Properties:
- public abstract class ScriptedGradientSkyboxSettings : ScriptableObject
- Properties:
- public float Intensity { get; }
- public float Exponent1 { get; }
- public float Exponent2 { get; }
- public Color TopColor { get; }
- public Color MiddleColor { get; }
- public Color BottomColor { get; }
- Properties:
- public class ScriptedGradientSkyboxSettingsDynamic : ScriptedGradientSkyboxSettings
- Properties:
- public float Intensity { get; }
- public float Exponent1 { get; }
- public float Exponent2 { get; }
- public Color TopColor { get; }
- public Color MiddleColor { get; }
- public Color BottomColor { get; }
- Properties:
- public class ScriptedGradientSkyboxSettingsStatic : ScriptedGradientSkyboxSettings
- Properties:
- public float Intensity { get; }
- public float Exponent1 { get; }
- public float Exponent2 { get; }
- public Color TopColor { get; }
- public Color MiddleColor { get; }
- public Color BottomColor { get; }
- Properties: