WhiteBalanceSettings.generated.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. using System;
  2. using System.Runtime.CompilerServices;
  3. using System.Runtime.InteropServices;
  4. namespace BansheeEngine
  5. {
  6. /** @addtogroup Rendering
  7. * @{
  8. */
  9. /// <summary>Settings that control white balance post-process.</summary>
  10. [ShowInInspector]
  11. public partial class WhiteBalanceSettings : ScriptObject
  12. {
  13. private WhiteBalanceSettings(bool __dummy0) { }
  14. public WhiteBalanceSettings()
  15. {
  16. Internal_WhiteBalanceSettings(this);
  17. }
  18. /// <summary>
  19. /// Temperature used for white balancing, in Kelvins.
  20. ///
  21. /// Moves along the Planckian locus. In range [1500.0f, 15000.0f].
  22. /// </summary>
  23. [ShowInInspector]
  24. public float Temperature
  25. {
  26. get { return Internal_gettemperature(mCachedPtr); }
  27. set { Internal_settemperature(mCachedPtr, value); }
  28. }
  29. /// <summary>
  30. /// Additional tint to be applied during white balancing. Can be used to further tweak the white balancing effect by
  31. /// modifying the tint of the light. The tint is chosen on the Planckian locus isothermal, depending on the light
  32. /// temperature specified by #temperature.
  33. ///
  34. /// In range [-1.0f, 1.0f].
  35. /// </summary>
  36. [ShowInInspector]
  37. public float Tint
  38. {
  39. get { return Internal_gettint(mCachedPtr); }
  40. set { Internal_settint(mCachedPtr, value); }
  41. }
  42. [MethodImpl(MethodImplOptions.InternalCall)]
  43. private static extern void Internal_WhiteBalanceSettings(WhiteBalanceSettings managedInstance);
  44. [MethodImpl(MethodImplOptions.InternalCall)]
  45. private static extern float Internal_gettemperature(IntPtr thisPtr);
  46. [MethodImpl(MethodImplOptions.InternalCall)]
  47. private static extern void Internal_settemperature(IntPtr thisPtr, float value);
  48. [MethodImpl(MethodImplOptions.InternalCall)]
  49. private static extern float Internal_gettint(IntPtr thisPtr);
  50. [MethodImpl(MethodImplOptions.InternalCall)]
  51. private static extern void Internal_settint(IntPtr thisPtr, float value);
  52. }
  53. /** @} */
  54. }