mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
60 lines
2.6 KiB
ReStructuredText
60 lines
2.6 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_BakedLightSampler:
|
|
|
|
BakedLightSampler
|
|
=================
|
|
|
|
**Inherits:** :ref:`VisualInstance<class_visualinstance>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_param<class_BakedLightSampler_get_param>` **(** :ref:`int<class_int>` param **)** const |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`int<class_int>` | :ref:`get_resolution<class_BakedLightSampler_get_resolution>` **(** **)** const |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_param<class_BakedLightSampler_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_resolution<class_BakedLightSampler_set_resolution>` **(** :ref:`int<class_int>` resolution **)** |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Numeric Constants
|
|
-----------------
|
|
|
|
- **PARAM_RADIUS** = **0**
|
|
- **PARAM_STRENGTH** = **1**
|
|
- **PARAM_ATTENUATION** = **2**
|
|
- **PARAM_DETAIL_RATIO** = **3**
|
|
- **PARAM_MAX** = **4**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_BakedLightSampler_get_param:
|
|
|
|
- :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
|
|
|
|
.. _class_BakedLightSampler_get_resolution:
|
|
|
|
- :ref:`int<class_int>` **get_resolution** **(** **)** const
|
|
|
|
.. _class_BakedLightSampler_set_param:
|
|
|
|
- void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
|
|
|
|
.. _class_BakedLightSampler_set_resolution:
|
|
|
|
- void **set_resolution** **(** :ref:`int<class_int>` resolution **)**
|
|
|
|
|