2
0

WhiteBalanceSettings.generated.cs 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. public partial class WhiteBalanceSettings : ScriptObject
  11. {
  12. private WhiteBalanceSettings(bool __dummy0) { }
  13. public WhiteBalanceSettings()
  14. {
  15. Internal_WhiteBalanceSettings(this);
  16. }
  17. /// <summary>
  18. /// Temperature used for white balancing, in Kelvins.
  19. ///
  20. /// Moves along the Planckian locus. In range [1500.0f, 15000.0f].
  21. /// </summary>
  22. public float Temperature
  23. {
  24. get { return Internal_gettemperature(mCachedPtr); }
  25. set { Internal_settemperature(mCachedPtr, value); }
  26. }
  27. /// <summary>
  28. /// Additional tint to be applied during white balancing. Can be used to further tweak the white balancing effect by
  29. /// modifying the tint of the light. The tint is chosen on the Planckian locus isothermal, depending on the light
  30. /// temperature specified by #temperature.
  31. ///
  32. /// In range [-1.0f, 1.0f].
  33. /// </summary>
  34. public float Tint
  35. {
  36. get { return Internal_gettint(mCachedPtr); }
  37. set { Internal_settint(mCachedPtr, value); }
  38. }
  39. [MethodImpl(MethodImplOptions.InternalCall)]
  40. private static extern void Internal_WhiteBalanceSettings(WhiteBalanceSettings managedInstance);
  41. [MethodImpl(MethodImplOptions.InternalCall)]
  42. private static extern float Internal_gettemperature(IntPtr thisPtr);
  43. [MethodImpl(MethodImplOptions.InternalCall)]
  44. private static extern void Internal_settemperature(IntPtr thisPtr, float value);
  45. [MethodImpl(MethodImplOptions.InternalCall)]
  46. private static extern float Internal_gettint(IntPtr thisPtr);
  47. [MethodImpl(MethodImplOptions.InternalCall)]
  48. private static extern void Internal_settint(IntPtr thisPtr, float value);
  49. }
  50. /** @} */
  51. }