class_giprobe.rst 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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>` | 1.5 |
  16. +---------------------------------------+------------------------------------------------------------+-----------------------+
  17. | :ref:`bool<class_bool>` | :ref:`compress<class_GIProbe_property_compress>` | false |
  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>` | 4 |
  22. +---------------------------------------+------------------------------------------------------------+-----------------------+
  23. | :ref:`float<class_float>` | :ref:`energy<class_GIProbe_property_energy>` | 1.0 |
  24. +---------------------------------------+------------------------------------------------------------+-----------------------+
  25. | :ref:`Vector3<class_Vector3>` | :ref:`extents<class_GIProbe_property_extents>` | Vector3( 10, 10, 10 ) |
  26. +---------------------------------------+------------------------------------------------------------+-----------------------+
  27. | :ref:`bool<class_bool>` | :ref:`interior<class_GIProbe_property_interior>` | false |
  28. +---------------------------------------+------------------------------------------------------------+-----------------------+
  29. | :ref:`float<class_float>` | :ref:`normal_bias<class_GIProbe_property_normal_bias>` | 0.0 |
  30. +---------------------------------------+------------------------------------------------------------+-----------------------+
  31. | :ref:`float<class_float>` | :ref:`propagation<class_GIProbe_property_propagation>` | 0.7 |
  32. +---------------------------------------+------------------------------------------------------------+-----------------------+
  33. | :ref:`Subdiv<enum_GIProbe_Subdiv>` | :ref:`subdiv<class_GIProbe_property_subdiv>` | 1 |
  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. | *Default* | 1.5 |
  65. +-----------+-----------------+
  66. | *Setter* | set_bias(value) |
  67. +-----------+-----------------+
  68. | *Getter* | get_bias() |
  69. +-----------+-----------------+
  70. .. _class_GIProbe_property_compress:
  71. - :ref:`bool<class_bool>` **compress**
  72. +-----------+---------------------+
  73. | *Default* | false |
  74. +-----------+---------------------+
  75. | *Setter* | set_compress(value) |
  76. +-----------+---------------------+
  77. | *Getter* | is_compressed() |
  78. +-----------+---------------------+
  79. .. _class_GIProbe_property_data:
  80. - :ref:`GIProbeData<class_GIProbeData>` **data**
  81. +----------+-----------------------+
  82. | *Setter* | set_probe_data(value) |
  83. +----------+-----------------------+
  84. | *Getter* | get_probe_data() |
  85. +----------+-----------------------+
  86. .. _class_GIProbe_property_dynamic_range:
  87. - :ref:`int<class_int>` **dynamic_range**
  88. +-----------+--------------------------+
  89. | *Default* | 4 |
  90. +-----------+--------------------------+
  91. | *Setter* | set_dynamic_range(value) |
  92. +-----------+--------------------------+
  93. | *Getter* | get_dynamic_range() |
  94. +-----------+--------------------------+
  95. .. _class_GIProbe_property_energy:
  96. - :ref:`float<class_float>` **energy**
  97. +-----------+-------------------+
  98. | *Default* | 1.0 |
  99. +-----------+-------------------+
  100. | *Setter* | set_energy(value) |
  101. +-----------+-------------------+
  102. | *Getter* | get_energy() |
  103. +-----------+-------------------+
  104. .. _class_GIProbe_property_extents:
  105. - :ref:`Vector3<class_Vector3>` **extents**
  106. +-----------+-----------------------+
  107. | *Default* | Vector3( 10, 10, 10 ) |
  108. +-----------+-----------------------+
  109. | *Setter* | set_extents(value) |
  110. +-----------+-----------------------+
  111. | *Getter* | get_extents() |
  112. +-----------+-----------------------+
  113. .. _class_GIProbe_property_interior:
  114. - :ref:`bool<class_bool>` **interior**
  115. +-----------+---------------------+
  116. | *Default* | false |
  117. +-----------+---------------------+
  118. | *Setter* | set_interior(value) |
  119. +-----------+---------------------+
  120. | *Getter* | is_interior() |
  121. +-----------+---------------------+
  122. .. _class_GIProbe_property_normal_bias:
  123. - :ref:`float<class_float>` **normal_bias**
  124. +-----------+------------------------+
  125. | *Default* | 0.0 |
  126. +-----------+------------------------+
  127. | *Setter* | set_normal_bias(value) |
  128. +-----------+------------------------+
  129. | *Getter* | get_normal_bias() |
  130. +-----------+------------------------+
  131. .. _class_GIProbe_property_propagation:
  132. - :ref:`float<class_float>` **propagation**
  133. +-----------+------------------------+
  134. | *Default* | 0.7 |
  135. +-----------+------------------------+
  136. | *Setter* | set_propagation(value) |
  137. +-----------+------------------------+
  138. | *Getter* | get_propagation() |
  139. +-----------+------------------------+
  140. .. _class_GIProbe_property_subdiv:
  141. - :ref:`Subdiv<enum_GIProbe_Subdiv>` **subdiv**
  142. +-----------+-------------------+
  143. | *Default* | 1 |
  144. +-----------+-------------------+
  145. | *Setter* | set_subdiv(value) |
  146. +-----------+-------------------+
  147. | *Getter* | get_subdiv() |
  148. +-----------+-------------------+
  149. Method Descriptions
  150. -------------------
  151. .. _class_GIProbe_method_bake:
  152. - void **bake** **(** :ref:`Node<class_Node>` from_node=null, :ref:`bool<class_bool>` create_visual_debug=false **)**
  153. .. _class_GIProbe_method_debug_bake:
  154. - void **debug_bake** **(** **)**