Click or drag to resize

Light2DModeEnum Enumeration

[Missing <summary> documentation for "T:Godot.Light2D.ModeEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum ModeEnum
Members
  Member nameValueDescription
Add0

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

Sub1

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

Mix2

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

Mask3

The light texture of the Light2D is used as a mask, hiding or revealing parts of the screen underneath depending on the value of each pixel of the light (mask) texture.

See Also