DitheringModel.cs 667 B

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