class_giprobe.rst 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  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 GIProbe.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_GIProbe:
  6. GIProbe
  7. =======
  8. **Inherits:** :ref:`VisualInstance<class_VisualInstance>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
  9. **Category:** Core
  10. Brief Description
  11. -----------------
  12. Properties
  13. ----------
  14. +---------------------------------------+------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`bias<class_GIProbe_property_bias>` |
  16. +---------------------------------------+------------------------------------------------------------+
  17. | :ref:`bool<class_bool>` | :ref:`compress<class_GIProbe_property_compress>` |
  18. +---------------------------------------+------------------------------------------------------------+
  19. | :ref:`GIProbeData<class_GIProbeData>` | :ref:`data<class_GIProbe_property_data>` |
  20. +---------------------------------------+------------------------------------------------------------+
  21. | :ref:`int<class_int>` | :ref:`dynamic_range<class_GIProbe_property_dynamic_range>` |
  22. +---------------------------------------+------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`energy<class_GIProbe_property_energy>` |
  24. +---------------------------------------+------------------------------------------------------------+
  25. | :ref:`Vector3<class_Vector3>` | :ref:`extents<class_GIProbe_property_extents>` |
  26. +---------------------------------------+------------------------------------------------------------+
  27. | :ref:`bool<class_bool>` | :ref:`interior<class_GIProbe_property_interior>` |
  28. +---------------------------------------+------------------------------------------------------------+
  29. | :ref:`float<class_float>` | :ref:`normal_bias<class_GIProbe_property_normal_bias>` |
  30. +---------------------------------------+------------------------------------------------------------+
  31. | :ref:`float<class_float>` | :ref:`propagation<class_GIProbe_property_propagation>` |
  32. +---------------------------------------+------------------------------------------------------------+
  33. | :ref:`Subdiv<enum_GIProbe_Subdiv>` | :ref:`subdiv<class_GIProbe_property_subdiv>` |
  34. +---------------------------------------+------------------------------------------------------------+
  35. Methods
  36. -------
  37. +------+----------------------------------------------------------------------------------------------------------------------------------------------+
  38. | void | :ref:`bake<class_GIProbe_method_bake>` **(** :ref:`Node<class_Node>` from_node=null, :ref:`bool<class_bool>` create_visual_debug=false **)** |
  39. +------+----------------------------------------------------------------------------------------------------------------------------------------------+
  40. | void | :ref:`debug_bake<class_GIProbe_method_debug_bake>` **(** **)** |
  41. +------+----------------------------------------------------------------------------------------------------------------------------------------------+
  42. Enumerations
  43. ------------
  44. .. _enum_GIProbe_Subdiv:
  45. .. _class_GIProbe_constant_SUBDIV_64:
  46. .. _class_GIProbe_constant_SUBDIV_128:
  47. .. _class_GIProbe_constant_SUBDIV_256:
  48. .. _class_GIProbe_constant_SUBDIV_512:
  49. .. _class_GIProbe_constant_SUBDIV_MAX:
  50. enum **Subdiv**:
  51. - **SUBDIV_64** = **0**
  52. - **SUBDIV_128** = **1**
  53. - **SUBDIV_256** = **2**
  54. - **SUBDIV_512** = **3**
  55. - **SUBDIV_MAX** = **4** --- Represents the size of the :ref:`Subdiv<enum_GIProbe_Subdiv>` enum.
  56. Tutorials
  57. ---------
  58. - :doc:`../tutorials/3d/gi_probes`
  59. Property Descriptions
  60. ---------------------
  61. .. _class_GIProbe_property_bias:
  62. - :ref:`float<class_float>` **bias**
  63. +----------+-----------------+
  64. | *Setter* | set_bias(value) |
  65. +----------+-----------------+
  66. | *Getter* | get_bias() |
  67. +----------+-----------------+
  68. ----
  69. .. _class_GIProbe_property_compress:
  70. - :ref:`bool<class_bool>` **compress**
  71. +----------+---------------------+
  72. | *Setter* | set_compress(value) |
  73. +----------+---------------------+
  74. | *Getter* | is_compressed() |
  75. +----------+---------------------+
  76. ----
  77. .. _class_GIProbe_property_data:
  78. - :ref:`GIProbeData<class_GIProbeData>` **data**
  79. +----------+-----------------------+
  80. | *Setter* | set_probe_data(value) |
  81. +----------+-----------------------+
  82. | *Getter* | get_probe_data() |
  83. +----------+-----------------------+
  84. ----
  85. .. _class_GIProbe_property_dynamic_range:
  86. - :ref:`int<class_int>` **dynamic_range**
  87. +----------+--------------------------+
  88. | *Setter* | set_dynamic_range(value) |
  89. +----------+--------------------------+
  90. | *Getter* | get_dynamic_range() |
  91. +----------+--------------------------+
  92. ----
  93. .. _class_GIProbe_property_energy:
  94. - :ref:`float<class_float>` **energy**
  95. +----------+-------------------+
  96. | *Setter* | set_energy(value) |
  97. +----------+-------------------+
  98. | *Getter* | get_energy() |
  99. +----------+-------------------+
  100. ----
  101. .. _class_GIProbe_property_extents:
  102. - :ref:`Vector3<class_Vector3>` **extents**
  103. +----------+--------------------+
  104. | *Setter* | set_extents(value) |
  105. +----------+--------------------+
  106. | *Getter* | get_extents() |
  107. +----------+--------------------+
  108. ----
  109. .. _class_GIProbe_property_interior:
  110. - :ref:`bool<class_bool>` **interior**
  111. +----------+---------------------+
  112. | *Setter* | set_interior(value) |
  113. +----------+---------------------+
  114. | *Getter* | is_interior() |
  115. +----------+---------------------+
  116. ----
  117. .. _class_GIProbe_property_normal_bias:
  118. - :ref:`float<class_float>` **normal_bias**
  119. +----------+------------------------+
  120. | *Setter* | set_normal_bias(value) |
  121. +----------+------------------------+
  122. | *Getter* | get_normal_bias() |
  123. +----------+------------------------+
  124. ----
  125. .. _class_GIProbe_property_propagation:
  126. - :ref:`float<class_float>` **propagation**
  127. +----------+------------------------+
  128. | *Setter* | set_propagation(value) |
  129. +----------+------------------------+
  130. | *Getter* | get_propagation() |
  131. +----------+------------------------+
  132. ----
  133. .. _class_GIProbe_property_subdiv:
  134. - :ref:`Subdiv<enum_GIProbe_Subdiv>` **subdiv**
  135. +----------+-------------------+
  136. | *Setter* | set_subdiv(value) |
  137. +----------+-------------------+
  138. | *Getter* | get_subdiv() |
  139. +----------+-------------------+
  140. Method Descriptions
  141. -------------------
  142. .. _class_GIProbe_method_bake:
  143. - void **bake** **(** :ref:`Node<class_Node>` from_node=null, :ref:`bool<class_bool>` create_visual_debug=false **)**
  144. ----
  145. .. _class_GIProbe_method_debug_bake:
  146. - void **debug_bake** **(** **)**