BlendMode Enum
Blend modes for rendering. Controls how pixels are combined when drawing on top of existing pixels.
public enum BlendMode
Fields¶
Alpha 0
Standard alpha blending (default). Result = Source * SourceAlpha + Dest * (1 - SourceAlpha) Best for: Normal sprites, UI elements
Additive 1
Additive blending (for fire, explosions, lights). Result = Source + Dest Creates a glowing effect where overlapping particles brighten. Best for: Fire, explosions, energy effects, lights
Multiply 2
Multiplicative blending (for shadows, darkening). Result = Source * Dest Best for: Shadows, fog, darkening effects
None 3
No blending (opaque). Result = Source Best for: Solid, opaque objects