SkyMode

    DirectionalLight3D.swift:32
    enum SkyMode

    Cases

    • case lightAndSky

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

    • case lightOnly

      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.

    • case skyOnly

      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).

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (11) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features