class_bakedlightsampler.rst 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_BakedLightSampler:
  4. BakedLightSampler
  5. =================
  6. **Inherits:** :ref:`VisualInstance<class_visualinstance>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`set_param<class_BakedLightSampler_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  14. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`get_param<class_BakedLightSampler_get_param>` **(** :ref:`int<class_int>` param **)** const |
  16. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`set_resolution<class_BakedLightSampler_set_resolution>` **(** :ref:`int<class_int>` resolution **)** |
  18. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`int<class_int>` | :ref:`get_resolution<class_BakedLightSampler_get_resolution>` **(** **)** const |
  20. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  21. Numeric Constants
  22. -----------------
  23. - **PARAM_RADIUS** = **0**
  24. - **PARAM_STRENGTH** = **1**
  25. - **PARAM_ATTENUATION** = **2**
  26. - **PARAM_DETAIL_RATIO** = **3**
  27. - **PARAM_MAX** = **4**
  28. Member Function Description
  29. ---------------------------
  30. .. _class_BakedLightSampler_set_param:
  31. - void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  32. .. _class_BakedLightSampler_get_param:
  33. - :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
  34. .. _class_BakedLightSampler_set_resolution:
  35. - void **set_resolution** **(** :ref:`int<class_int>` resolution **)**
  36. .. _class_BakedLightSampler_get_resolution:
  37. - :ref:`int<class_int>` **get_resolution** **(** **)** const