ColorGradingSettings.generated.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /// <summary>Settings that control color grading post-process.</summary>
  7. public partial class ColorGradingSettings : ScriptObject
  8. {
  9. private ColorGradingSettings(bool __dummy0) { }
  10. protected ColorGradingSettings() { }
  11. /// <summary>
  12. /// Saturation to be applied during color grading. Larger values increase vibrancy of the image. In range [0.0f, 2.0f].
  13. /// </summary>
  14. public Vector3 Saturation
  15. {
  16. get
  17. {
  18. Vector3 temp;
  19. Internal_getsaturation(mCachedPtr, out temp);
  20. return temp;
  21. }
  22. set { Internal_setsaturation(mCachedPtr, ref value); }
  23. }
  24. /// <summary>
  25. /// Contrast to be applied during color grading. Larger values increase difference between light and dark areas of the
  26. /// image. In range [0.0f, 2.0f].
  27. /// </summary>
  28. public Vector3 Contrast
  29. {
  30. get
  31. {
  32. Vector3 temp;
  33. Internal_getcontrast(mCachedPtr, out temp);
  34. return temp;
  35. }
  36. set { Internal_setcontrast(mCachedPtr, ref value); }
  37. }
  38. /// <summary>
  39. /// Gain to be applied during color grading. Simply increases all color values by an equal scale. In range [0.0f, 2.0f].
  40. /// </summary>
  41. public Vector3 Gain
  42. {
  43. get
  44. {
  45. Vector3 temp;
  46. Internal_getgain(mCachedPtr, out temp);
  47. return temp;
  48. }
  49. set { Internal_setgain(mCachedPtr, ref value); }
  50. }
  51. /// <summary>
  52. /// Gain to be applied during color grading. Simply offsets all color values by an equal amount. In range [-1.0f, 1.0f].
  53. /// </summary>
  54. public Vector3 Offset
  55. {
  56. get
  57. {
  58. Vector3 temp;
  59. Internal_getoffset(mCachedPtr, out temp);
  60. return temp;
  61. }
  62. set { Internal_setoffset(mCachedPtr, ref value); }
  63. }
  64. [MethodImpl(MethodImplOptions.InternalCall)]
  65. private static extern void Internal_getsaturation(IntPtr thisPtr, out Vector3 __output);
  66. [MethodImpl(MethodImplOptions.InternalCall)]
  67. private static extern void Internal_setsaturation(IntPtr thisPtr, ref Vector3 value);
  68. [MethodImpl(MethodImplOptions.InternalCall)]
  69. private static extern void Internal_getcontrast(IntPtr thisPtr, out Vector3 __output);
  70. [MethodImpl(MethodImplOptions.InternalCall)]
  71. private static extern void Internal_setcontrast(IntPtr thisPtr, ref Vector3 value);
  72. [MethodImpl(MethodImplOptions.InternalCall)]
  73. private static extern void Internal_getgain(IntPtr thisPtr, out Vector3 __output);
  74. [MethodImpl(MethodImplOptions.InternalCall)]
  75. private static extern void Internal_setgain(IntPtr thisPtr, ref Vector3 value);
  76. [MethodImpl(MethodImplOptions.InternalCall)]
  77. private static extern void Internal_getoffset(IntPtr thisPtr, out Vector3 __output);
  78. [MethodImpl(MethodImplOptions.InternalCall)]
  79. private static extern void Internal_setoffset(IntPtr thisPtr, ref Vector3 value);
  80. }
  81. }