InspectableFieldStyleInfo.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. using System;
  4. namespace BansheeEditor
  5. {
  6. /// <summary>
  7. /// Contains boolean information about a field style.
  8. /// </summary>
  9. [Flags]
  10. public enum InstectableFieldStyleFlags
  11. {
  12. None = 0,
  13. UseSlider = 1 << 0,
  14. UseLayerMask = 1 << 1
  15. }
  16. /// <summary>
  17. /// Contains all the information about a field style.
  18. /// </summary>
  19. public class InspectableFieldStyleInfo
  20. {
  21. /// <summary>
  22. /// Information about the field range.
  23. /// </summary>
  24. public InspectableFieldRangeStyle RangeStyle;
  25. /// <summary>
  26. /// Information about the field stepping.
  27. /// </summary>
  28. public InspectableFieldStepStyle StepStyle;
  29. /// <summary>
  30. /// Boolean information about the field.
  31. /// </summary>
  32. public InstectableFieldStyleFlags StyleFlags;
  33. /// <summary>
  34. /// Creates an empty set of information about a field style.
  35. /// </summary>
  36. public InspectableFieldStyleInfo()
  37. {
  38. }
  39. }
  40. }