Table of Contents

Enum DirectionalLight3D.SkyModeEnum

Namespace
Godot
Assembly
GodotSharp.dll
public enum DirectionalLight3D.SkyModeEnum : long

Fields

LightAndSky = 0

Makes the light visible in both scene lighting and sky rendering.

LightOnly = 1

Makes the light visible in scene lighting only (including direct lighting and global illumination). When using this mode, the light will not be visible from sky shaders.

SkyOnly = 2

Makes the light visible to sky shaders only. When using this mode the light will not cast light into the scene (either through direct lighting or through global illumination), but can be accessed through sky shaders. This can be useful, for example, when you want to control sky effects without illuminating the scene (during a night cycle, for example).