You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
896 B

  1. using System;
  2. namespace UnityEngine.PostProcessing
  3. {
  4. [Serializable]
  5. public class FogModel : PostProcessingModel
  6. {
  7. [Serializable]
  8. public struct Settings
  9. {
  10. [Tooltip("Should the fog affect the skybox?")]
  11. public bool excludeSkybox;
  12. public static Settings defaultSettings
  13. {
  14. get
  15. {
  16. return new Settings
  17. {
  18. excludeSkybox = true
  19. };
  20. }
  21. }
  22. }
  23. [SerializeField]
  24. Settings m_Settings = Settings.defaultSettings;
  25. public Settings settings
  26. {
  27. get { return m_Settings; }
  28. set { m_Settings = value; }
  29. }
  30. public override void Reset()
  31. {
  32. m_Settings = Settings.defaultSettings;
  33. }
  34. }
  35. }