class_bakedlightmap.rst 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the BakedLightmap.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_BakedLightmap:
  5. BakedLightmap
  6. =============
  7. **Inherits:** :ref:`VisualInstance<class_visualinstance>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Member Functions
  12. ----------------
  13. +------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`int<class_int>` | :ref:`bake<class_BakedLightmap_bake>` **(** :ref:`Node<class_node>` from_node=null, :ref:`bool<class_bool>` create_visual_debug=false **)** |
  15. +------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  16. | void | :ref:`debug_bake<class_BakedLightmap_debug_bake>` **(** **)** |
  17. +------------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
  18. Member Variables
  19. ----------------
  20. .. _class_BakedLightmap_bake_cell_size:
  21. - :ref:`float<class_float>` **bake_cell_size**
  22. .. _class_BakedLightmap_bake_energy:
  23. - :ref:`float<class_float>` **bake_energy**
  24. .. _class_BakedLightmap_bake_extents:
  25. - :ref:`Vector3<class_vector3>` **bake_extents**
  26. .. _class_BakedLightmap_bake_hdr:
  27. - :ref:`bool<class_bool>` **bake_hdr**
  28. .. _class_BakedLightmap_bake_mode:
  29. - :ref:`BakeMode<enum_bakedlightmap_bakemode>` **bake_mode**
  30. .. _class_BakedLightmap_bake_propagation:
  31. - :ref:`float<class_float>` **bake_propagation**
  32. .. _class_BakedLightmap_bake_quality:
  33. - :ref:`BakeQuality<enum_bakedlightmap_bakequality>` **bake_quality**
  34. .. _class_BakedLightmap_capture_cell_size:
  35. - :ref:`float<class_float>` **capture_cell_size**
  36. .. _class_BakedLightmap_image_path:
  37. - :ref:`String<class_string>` **image_path**
  38. .. _class_BakedLightmap_light_data:
  39. - :ref:`BakedLightmapData<class_bakedlightmapdata>` **light_data**
  40. Enums
  41. -----
  42. .. _enum_BakedLightmap_BakeQuality:
  43. enum **BakeQuality**
  44. - **BAKE_QUALITY_LOW** = **0**
  45. - **BAKE_QUALITY_MEDIUM** = **1**
  46. - **BAKE_QUALITY_HIGH** = **2**
  47. .. _enum_BakedLightmap_BakeError:
  48. enum **BakeError**
  49. - **BAKE_ERROR_OK** = **0**
  50. - **BAKE_ERROR_NO_SAVE_PATH** = **1**
  51. - **BAKE_ERROR_NO_MESHES** = **2**
  52. - **BAKE_ERROR_CANT_CREATE_IMAGE** = **3**
  53. - **BAKE_ERROR_USER_ABORTED** = **4**
  54. .. _enum_BakedLightmap_BakeMode:
  55. enum **BakeMode**
  56. - **BAKE_MODE_CONE_TRACE** = **0**
  57. - **BAKE_MODE_RAY_TRACE** = **1**
  58. Member Function Description
  59. ---------------------------
  60. .. _class_BakedLightmap_bake:
  61. - :ref:`int<class_int>` **bake** **(** :ref:`Node<class_node>` from_node=null, :ref:`bool<class_bool>` create_visual_debug=false **)**
  62. .. _class_BakedLightmap_debug_bake:
  63. - void **debug_bake** **(** **)**