class_bakedlightsampler.rst 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. .. _class_BakedLightSampler:
  2. BakedLightSampler
  3. =================
  4. **Inherits:** :ref:`VisualInstance<class_visualinstance>`
  5. **Category:** Core
  6. Member Functions
  7. ----------------
  8. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  9. | void | :ref:`set_param<class_BakedLightSampler_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
  10. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  11. | :ref:`float<class_float>` | :ref:`get_param<class_BakedLightSampler_get_param>` **(** :ref:`int<class_int>` param **)** const |
  12. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`set_resolution<class_BakedLightSampler_set_resolution>` **(** :ref:`int<class_int>` resolution **)** |
  14. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`get_resolution<class_BakedLightSampler_get_resolution>` **(** **)** const |
  16. +----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
  17. Numeric Constants
  18. -----------------
  19. - **PARAM_RADIUS** = **0**
  20. - **PARAM_STRENGTH** = **1**
  21. - **PARAM_ATTENUATION** = **2**
  22. - **PARAM_DETAIL_RATIO** = **3**
  23. - **PARAM_MAX** = **4**
  24. Member Function Description
  25. ---------------------------
  26. .. _class_BakedLightSampler_set_param:
  27. - void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
  28. .. _class_BakedLightSampler_get_param:
  29. - :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
  30. .. _class_BakedLightSampler_set_resolution:
  31. - void **set_resolution** **(** :ref:`int<class_int>` resolution **)**
  32. .. _class_BakedLightSampler_get_resolution:
  33. - :ref:`int<class_int>` **get_resolution** **(** **)** const