Light2DModeEnum Enumeration |
[Missing <summary> documentation for "T:Godot.Light2D.ModeEnum"]
Namespace: Godot
public enum ModeEnum
Member name | Value | Description | |
---|---|---|---|
Add | 0 | Adds the value of pixels corresponding to the Light2D to the values of pixels under it. This is the common behavior of a light. | |
Sub | 1 | Subtracts the value of pixels corresponding to the Light2D to the values of pixels under it, resulting in inversed light effect. | |
Mix | 2 | Mix the value of pixels corresponding to the Light2D to the values of pixels under it by linear interpolation. | |
Mask | 3 | 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. |