.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/modules/gltf/doc_classes/GLTFLight.xml. .. _class_GLTFLight: GLTFLight ========= **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`Color` | :ref:`color` | ``Color(1, 1, 1, 1)`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`inner_cone_angle` | ``0.0`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`intensity` | ``1.0`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`String` | :ref:`light_type` | ``""`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`outer_cone_angle` | ``0.785398`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ | :ref:`float` | :ref:`range` | ``inf`` | +-----------------------------+--------------------------------------------------------------------+-----------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFLight` | :ref:`from_dictionary` **(** :ref:`Dictionary` dictionary **)** |static| | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`GLTFLight` | :ref:`from_node` **(** :ref:`Light3D` light_node **)** |static| | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`get_additional_data` **(** :ref:`StringName` extension_name **)** | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_additional_data` **(** :ref:`StringName` extension_name, :ref:`Variant` additional_data **)** | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Dictionary` | :ref:`to_dictionary` **(** **)** |const| | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Light3D` | :ref:`to_node` **(** **)** |const| | +-------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_GLTFLight_property_color: .. rst-class:: classref-property :ref:`Color` **color** = ``Color(1, 1, 1, 1)`` .. rst-class:: classref-property-setget - void **set_color** **(** :ref:`Color` value **)** - :ref:`Color` **get_color** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_property_inner_cone_angle: .. rst-class:: classref-property :ref:`float` **inner_cone_angle** = ``0.0`` .. rst-class:: classref-property-setget - void **set_inner_cone_angle** **(** :ref:`float` value **)** - :ref:`float` **get_inner_cone_angle** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_property_intensity: .. rst-class:: classref-property :ref:`float` **intensity** = ``1.0`` .. rst-class:: classref-property-setget - void **set_intensity** **(** :ref:`float` value **)** - :ref:`float` **get_intensity** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_property_light_type: .. rst-class:: classref-property :ref:`String` **light_type** = ``""`` .. rst-class:: classref-property-setget - void **set_light_type** **(** :ref:`String` value **)** - :ref:`String` **get_light_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_property_outer_cone_angle: .. rst-class:: classref-property :ref:`float` **outer_cone_angle** = ``0.785398`` .. rst-class:: classref-property-setget - void **set_outer_cone_angle** **(** :ref:`float` value **)** - :ref:`float` **get_outer_cone_angle** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_property_range: .. rst-class:: classref-property :ref:`float` **range** = ``inf`` .. rst-class:: classref-property-setget - void **set_range** **(** :ref:`float` value **)** - :ref:`float` **get_range** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_GLTFLight_method_from_dictionary: .. rst-class:: classref-method :ref:`GLTFLight` **from_dictionary** **(** :ref:`Dictionary` dictionary **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_method_from_node: .. rst-class:: classref-method :ref:`GLTFLight` **from_node** **(** :ref:`Light3D` light_node **)** |static| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_method_get_additional_data: .. rst-class:: classref-method :ref:`Variant` **get_additional_data** **(** :ref:`StringName` extension_name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_method_set_additional_data: .. rst-class:: classref-method void **set_additional_data** **(** :ref:`StringName` extension_name, :ref:`Variant` additional_data **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_method_to_dictionary: .. rst-class:: classref-method :ref:`Dictionary` **to_dictionary** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_GLTFLight_method_to_node: .. rst-class:: classref-method :ref:`Light3D` **to_node** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |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.)`