BlendMode

    Light2D.swift:32
    enum BlendMode

    Cases

    • case add

      Adds the value of pixels corresponding to the Light2D to the values of pixels under it. This is the common behavior of a light.

    • case sub

      Subtracts the value of pixels corresponding to the Light2D to the values of pixels under it, resulting in inversed light effect.

    • case mix

      Mix the value of pixels corresponding to the Light2D to the values of pixels under it by linear interpolation.

    Other members in extension

    View members

    Hide members

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

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features