class_cameraeffects.rst 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the CameraEffects.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_CameraEffects:
  6. CameraEffects
  7. =============
  8. **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  12. | :ref:`float<class_float>` | :ref:`dof_blur_amount<class_CameraEffects_property_dof_blur_amount>` | ``0.1`` |
  13. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  14. | :ref:`float<class_float>` | :ref:`dof_blur_far_distance<class_CameraEffects_property_dof_blur_far_distance>` | ``10.0`` |
  15. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  16. | :ref:`bool<class_bool>` | :ref:`dof_blur_far_enabled<class_CameraEffects_property_dof_blur_far_enabled>` | ``false`` |
  17. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  18. | :ref:`float<class_float>` | :ref:`dof_blur_far_transition<class_CameraEffects_property_dof_blur_far_transition>` | ``5.0`` |
  19. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  20. | :ref:`float<class_float>` | :ref:`dof_blur_near_distance<class_CameraEffects_property_dof_blur_near_distance>` | ``2.0`` |
  21. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  22. | :ref:`bool<class_bool>` | :ref:`dof_blur_near_enabled<class_CameraEffects_property_dof_blur_near_enabled>` | ``false`` |
  23. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  24. | :ref:`float<class_float>` | :ref:`dof_blur_near_transition<class_CameraEffects_property_dof_blur_near_transition>` | ``1.0`` |
  25. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  26. | :ref:`float<class_float>` | :ref:`override_exposure<class_CameraEffects_property_override_exposure>` | ``1.0`` |
  27. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  28. | :ref:`bool<class_bool>` | :ref:`override_exposure_enable<class_CameraEffects_property_override_exposure_enable>` | ``false`` |
  29. +---------------------------+----------------------------------------------------------------------------------------+-----------+
  30. Property Descriptions
  31. ---------------------
  32. .. _class_CameraEffects_property_dof_blur_amount:
  33. - :ref:`float<class_float>` **dof_blur_amount**
  34. +-----------+----------------------------+
  35. | *Default* | ``0.1`` |
  36. +-----------+----------------------------+
  37. | *Setter* | set_dof_blur_amount(value) |
  38. +-----------+----------------------------+
  39. | *Getter* | get_dof_blur_amount() |
  40. +-----------+----------------------------+
  41. ----
  42. .. _class_CameraEffects_property_dof_blur_far_distance:
  43. - :ref:`float<class_float>` **dof_blur_far_distance**
  44. +-----------+----------------------------------+
  45. | *Default* | ``10.0`` |
  46. +-----------+----------------------------------+
  47. | *Setter* | set_dof_blur_far_distance(value) |
  48. +-----------+----------------------------------+
  49. | *Getter* | get_dof_blur_far_distance() |
  50. +-----------+----------------------------------+
  51. ----
  52. .. _class_CameraEffects_property_dof_blur_far_enabled:
  53. - :ref:`bool<class_bool>` **dof_blur_far_enabled**
  54. +-----------+---------------------------------+
  55. | *Default* | ``false`` |
  56. +-----------+---------------------------------+
  57. | *Setter* | set_dof_blur_far_enabled(value) |
  58. +-----------+---------------------------------+
  59. | *Getter* | is_dof_blur_far_enabled() |
  60. +-----------+---------------------------------+
  61. ----
  62. .. _class_CameraEffects_property_dof_blur_far_transition:
  63. - :ref:`float<class_float>` **dof_blur_far_transition**
  64. +-----------+------------------------------------+
  65. | *Default* | ``5.0`` |
  66. +-----------+------------------------------------+
  67. | *Setter* | set_dof_blur_far_transition(value) |
  68. +-----------+------------------------------------+
  69. | *Getter* | get_dof_blur_far_transition() |
  70. +-----------+------------------------------------+
  71. ----
  72. .. _class_CameraEffects_property_dof_blur_near_distance:
  73. - :ref:`float<class_float>` **dof_blur_near_distance**
  74. +-----------+-----------------------------------+
  75. | *Default* | ``2.0`` |
  76. +-----------+-----------------------------------+
  77. | *Setter* | set_dof_blur_near_distance(value) |
  78. +-----------+-----------------------------------+
  79. | *Getter* | get_dof_blur_near_distance() |
  80. +-----------+-----------------------------------+
  81. ----
  82. .. _class_CameraEffects_property_dof_blur_near_enabled:
  83. - :ref:`bool<class_bool>` **dof_blur_near_enabled**
  84. +-----------+----------------------------------+
  85. | *Default* | ``false`` |
  86. +-----------+----------------------------------+
  87. | *Setter* | set_dof_blur_near_enabled(value) |
  88. +-----------+----------------------------------+
  89. | *Getter* | is_dof_blur_near_enabled() |
  90. +-----------+----------------------------------+
  91. ----
  92. .. _class_CameraEffects_property_dof_blur_near_transition:
  93. - :ref:`float<class_float>` **dof_blur_near_transition**
  94. +-----------+-------------------------------------+
  95. | *Default* | ``1.0`` |
  96. +-----------+-------------------------------------+
  97. | *Setter* | set_dof_blur_near_transition(value) |
  98. +-----------+-------------------------------------+
  99. | *Getter* | get_dof_blur_near_transition() |
  100. +-----------+-------------------------------------+
  101. ----
  102. .. _class_CameraEffects_property_override_exposure:
  103. - :ref:`float<class_float>` **override_exposure**
  104. +-----------+------------------------------+
  105. | *Default* | ``1.0`` |
  106. +-----------+------------------------------+
  107. | *Setter* | set_override_exposure(value) |
  108. +-----------+------------------------------+
  109. | *Getter* | get_override_exposure() |
  110. +-----------+------------------------------+
  111. ----
  112. .. _class_CameraEffects_property_override_exposure_enable:
  113. - :ref:`bool<class_bool>` **override_exposure_enable**
  114. +-----------+--------------------------------------+
  115. | *Default* | ``false`` |
  116. +-----------+--------------------------------------+
  117. | *Setter* | set_override_exposure_enabled(value) |
  118. +-----------+--------------------------------------+
  119. | *Getter* | is_override_exposure_enabled() |
  120. +-----------+--------------------------------------+