EnviroHDRPSky.cs 592 B

123456789101112131415161718192021222324252627
  1. #if ENVIRO_HDRP
  2. using System;
  3. using UnityEngine.Rendering.HighDefinition;
  4. namespace UnityEngine.Rendering.HighDefinition
  5. {
  6. [VolumeComponentMenu("Sky/Enviro 3 Skybox")]
  7. [SkyUniqueID(990)]
  8. public class EnviroHDRPSky : SkySettings
  9. {
  10. public override int GetHashCode()
  11. {
  12. int hash = base.GetHashCode();
  13. unchecked
  14. {
  15. // hash = hash * 23 + GetHashCode();
  16. }
  17. return hash;
  18. }
  19. public override Type GetSkyRendererType() { return typeof(EnviroHDRPSkyRenderer); }
  20. }
  21. }
  22. #endif