ProjectionSamples.cs 873 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using UnityEngine;
  2. namespace VertexAnimationTools_30 {
  3. public enum ProjectionQualityEnum {
  4. Draft = 0,
  5. Low = 1,
  6. Medium = 2,
  7. High = 3,
  8. Ultra = 4
  9. }
  10. #if UNITY_5_5_OR_NEWER
  11. [PreferBinarySerialization]
  12. #endif
  13. public class ProjectionSamples : ScriptableObject {
  14. [System.Serializable]
  15. public class Samples {
  16. [HideInInspector]
  17. public string Name;
  18. [HideInInspector]
  19. public Vector3[] Dirs;
  20. }
  21. public Samples[] SphereSamples;
  22. [HideInInspector]
  23. public Samples[] DomeSamples;
  24. public static ProjectionSamples Get {
  25. get {
  26. ProjectionSamples ps = Resources.Load<ProjectionSamples>("VertexAnimationTools_ProjectionSamples");
  27. return ps;
  28. }
  29. }
  30. }
  31. }