.. 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/doc/classes/DirectionalLight3D.xml. .. _class_DirectionalLight3D: DirectionalLight3D ================== **Inherits:** :ref:`Light3D` **<** :ref:`VisualInstance3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :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:`bool` | :ref:`directional_shadow_blend_splits` | ``false`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_fade_start` | ``0.8`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_max_distance` | ``100.0`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`ShadowMode` | :ref:`directional_shadow_mode` | ``2`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_pancake_size` | ``20.0`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_split_1` | ``0.1`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_split_2` | ``0.2`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`directional_shadow_split_3` | ``0.5`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`SkyMode` | :ref:`sky_mode` | ``0`` | +-------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Enumerations ------------ .. _enum_DirectionalLight3D_ShadowMode: .. rst-class:: classref-enumeration enum **ShadowMode**: .. _class_DirectionalLight3D_constant_SHADOW_ORTHOGONAL: .. rst-class:: classref-enumeration-constant :ref:`ShadowMode` **SHADOW_ORTHOGONAL** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_DirectionalLight3D_constant_SHADOW_PARALLEL_2_SPLITS: .. rst-class:: classref-enumeration-constant :ref:`ShadowMode` **SHADOW_PARALLEL_2_SPLITS** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_DirectionalLight3D_constant_SHADOW_PARALLEL_4_SPLITS: .. rst-class:: classref-enumeration-constant :ref:`ShadowMode` **SHADOW_PARALLEL_4_SPLITS** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _enum_DirectionalLight3D_SkyMode: .. rst-class:: classref-enumeration enum **SkyMode**: .. _class_DirectionalLight3D_constant_SKY_MODE_LIGHT_AND_SKY: .. rst-class:: classref-enumeration-constant :ref:`SkyMode` **SKY_MODE_LIGHT_AND_SKY** = ``0`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_DirectionalLight3D_constant_SKY_MODE_LIGHT_ONLY: .. rst-class:: classref-enumeration-constant :ref:`SkyMode` **SKY_MODE_LIGHT_ONLY** = ``1`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. _class_DirectionalLight3D_constant_SKY_MODE_SKY_ONLY: .. rst-class:: classref-enumeration-constant :ref:`SkyMode` **SKY_MODE_SKY_ONLY** = ``2`` .. container:: contribute There is currently no description for this enum. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_DirectionalLight3D_property_directional_shadow_blend_splits: .. rst-class:: classref-property :ref:`bool` **directional_shadow_blend_splits** = ``false`` .. rst-class:: classref-property-setget - void **set_blend_splits** **(** :ref:`bool` value **)** - :ref:`bool` **is_blend_splits_enabled** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_fade_start: .. rst-class:: classref-property :ref:`float` **directional_shadow_fade_start** = ``0.8`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_max_distance: .. rst-class:: classref-property :ref:`float` **directional_shadow_max_distance** = ``100.0`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_mode: .. rst-class:: classref-property :ref:`ShadowMode` **directional_shadow_mode** = ``2`` .. rst-class:: classref-property-setget - void **set_shadow_mode** **(** :ref:`ShadowMode` value **)** - :ref:`ShadowMode` **get_shadow_mode** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_pancake_size: .. rst-class:: classref-property :ref:`float` **directional_shadow_pancake_size** = ``20.0`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_split_1: .. rst-class:: classref-property :ref:`float` **directional_shadow_split_1** = ``0.1`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_split_2: .. rst-class:: classref-property :ref:`float` **directional_shadow_split_2** = ``0.2`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_directional_shadow_split_3: .. rst-class:: classref-property :ref:`float` **directional_shadow_split_3** = ``0.5`` .. rst-class:: classref-property-setget - void **set_param** **(** :ref:`float` value **)** - :ref:`float` **get_param** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_DirectionalLight3D_property_sky_mode: .. rst-class:: classref-property :ref:`SkyMode` **sky_mode** = ``0`` .. rst-class:: classref-property-setget - void **set_sky_mode** **(** :ref:`SkyMode` value **)** - :ref:`SkyMode` **get_sky_mode** **(** **)** .. container:: contribute There is currently no description for this property. 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.)`