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.

30 lines
664 B

  1. using System;
  2. namespace UnityEngine.PostProcessing
  3. {
  4. [Serializable]
  5. public class DitheringModel : PostProcessingModel
  6. {
  7. [Serializable]
  8. public struct Settings
  9. {
  10. public static Settings defaultSettings
  11. {
  12. get { return new Settings(); }
  13. }
  14. }
  15. [SerializeField]
  16. Settings m_Settings = Settings.defaultSettings;
  17. public Settings settings
  18. {
  19. get { return m_Settings; }
  20. set { m_Settings = value; }
  21. }
  22. public override void Reset()
  23. {
  24. m_Settings = Settings.defaultSettings;
  25. }
  26. }
  27. }