mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch
This commit is contained in:
@@ -43,6 +43,8 @@ Member Functions
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_shadow_gradient_length<class_Light2D_get_shadow_gradient_length>` **(** **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`float<class_float>` | :ref:`get_shadow_smooth<class_Light2D_get_shadow_smooth>` **(** **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Object<class_object>` | :ref:`get_texture<class_Light2D_get_texture>` **(** **)** const |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| :ref:`Vector2<class_vector2>` | :ref:`get_texture_offset<class_Light2D_get_texture_offset>` **(** **)** const |
|
||||
@@ -89,6 +91,8 @@ Member Functions
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_shadow_gradient_length<class_Light2D_set_shadow_gradient_length>` **(** :ref:`float<class_float>` multiplier **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_shadow_smooth<class_Light2D_set_shadow_smooth>` **(** :ref:`float<class_float>` smooth **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_texture<class_Light2D_set_texture>` **(** :ref:`Object<class_object>` texture **)** |
|
||||
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------------------+
|
||||
| void | :ref:`set_texture_offset<class_Light2D_set_texture_offset>` **(** :ref:`Vector2<class_vector2>` texture_offset **)** |
|
||||
@@ -120,6 +124,7 @@ Member Variables
|
||||
- :ref:`Color<class_color>` **shadow_color**
|
||||
- :ref:`bool<class_bool>` **shadow_enabled**
|
||||
- :ref:`float<class_float>` **shadow_filter**
|
||||
- :ref:`float<class_float>` **shadow_filter_smooth**
|
||||
- :ref:`float<class_float>` **shadow_gradient_length**
|
||||
- :ref:`int<class_int>` **shadow_item_cull_mask**
|
||||
- :ref:`Texture<class_texture>` **texture**
|
||||
@@ -204,6 +209,10 @@ Return the color of casted shadows for this Light2D.
|
||||
|
||||
- :ref:`float<class_float>` **get_shadow_gradient_length** **(** **)** const
|
||||
|
||||
.. _class_Light2D_get_shadow_smooth:
|
||||
|
||||
- :ref:`float<class_float>` **get_shadow_smooth** **(** **)** const
|
||||
|
||||
.. _class_Light2D_get_texture:
|
||||
|
||||
- :ref:`Object<class_object>` **get_texture** **(** **)** const
|
||||
@@ -334,6 +343,10 @@ Enable or disable shadows casting from this Light2D according to the 'enabled' p
|
||||
|
||||
- void **set_shadow_gradient_length** **(** :ref:`float<class_float>` multiplier **)**
|
||||
|
||||
.. _class_Light2D_set_shadow_smooth:
|
||||
|
||||
- void **set_shadow_smooth** **(** :ref:`float<class_float>` smooth **)**
|
||||
|
||||
.. _class_Light2D_set_texture:
|
||||
|
||||
- void **set_texture** **(** :ref:`Object<class_object>` texture **)**
|
||||
|
||||
Reference in New Issue
Block a user