mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (2e7fc81)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
:github_url: hide
|
||||
|
||||
.. meta::
|
||||
:keywords: omni, spot
|
||||
|
||||
.. DO NOT EDIT THIS FILE!!!
|
||||
.. Generated automatically from Godot engine sources.
|
||||
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
||||
@@ -63,8 +66,8 @@ Property Descriptions
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- void **set_height** **(** :ref:`float<class_float>` value **)**
|
||||
- :ref:`float<class_float>` **get_height** **(** **)**
|
||||
- |void| **set_height**\ (\ value\: :ref:`float<class_float>`\ )
|
||||
- :ref:`float<class_float>` **get_height**\ (\ )
|
||||
|
||||
The height of the light. Used with 2D normal mapping. The units are in pixels, e.g. if the height is 100, then it will illuminate an object 100 pixels away at a 45° angle to the plane.
|
||||
|
||||
@@ -80,8 +83,8 @@ The height of the light. Used with 2D normal mapping. The units are in pixels, e
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- void **set_texture_offset** **(** :ref:`Vector2<class_Vector2>` value **)**
|
||||
- :ref:`Vector2<class_Vector2>` **get_texture_offset** **(** **)**
|
||||
- |void| **set_texture_offset**\ (\ value\: :ref:`Vector2<class_Vector2>`\ )
|
||||
- :ref:`Vector2<class_Vector2>` **get_texture_offset**\ (\ )
|
||||
|
||||
The offset of the light's :ref:`texture<class_PointLight2D_property_texture>`.
|
||||
|
||||
@@ -97,8 +100,8 @@ The offset of the light's :ref:`texture<class_PointLight2D_property_texture>`.
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- void **set_texture** **(** :ref:`Texture2D<class_Texture2D>` value **)**
|
||||
- :ref:`Texture2D<class_Texture2D>` **get_texture** **(** **)**
|
||||
- |void| **set_texture**\ (\ value\: :ref:`Texture2D<class_Texture2D>`\ )
|
||||
- :ref:`Texture2D<class_Texture2D>` **get_texture**\ (\ )
|
||||
|
||||
:ref:`Texture2D<class_Texture2D>` used for the light's appearance.
|
||||
|
||||
@@ -114,8 +117,8 @@ The offset of the light's :ref:`texture<class_PointLight2D_property_texture>`.
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
- void **set_texture_scale** **(** :ref:`float<class_float>` value **)**
|
||||
- :ref:`float<class_float>` **get_texture_scale** **(** **)**
|
||||
- |void| **set_texture_scale**\ (\ value\: :ref:`float<class_float>`\ )
|
||||
- :ref:`float<class_float>` **get_texture_scale**\ (\ )
|
||||
|
||||
The :ref:`texture<class_PointLight2D_property_texture>`'s scale factor.
|
||||
|
||||
@@ -126,3 +129,4 @@ The :ref:`texture<class_PointLight2D_property_texture>`'s scale factor.
|
||||
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
||||
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|
||||
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
|
||||
.. |void| replace:: :abbr:`void (No return value.)`
|
||||
|
||||
Reference in New Issue
Block a user