Repository navigation
LightMode
eduardgushchin edited this page Oct 22, 2026
·
1 revision
Home | API by Category | Complete API Index | API Status
| Field | Value |
|---|---|
| Full name | Electron2D.LightMode |
| Namespace | Electron2D |
| Kind | enum |
| Category | API Rendering |
Selects ambient and light contribution for canvas drawing.
public enum Electron2D.LightMode| Member | Kind | Summary |
|---|---|---|
public const Electron2D.LightMode LightOnly = 2 |
enumValue | Uses illumination without ambient contribution. |
public const Electron2D.LightMode Normal = 0 |
enumValue | Combines ambient canvas modulation with illumination. |
public const Electron2D.LightMode Unshaded = 1 |
enumValue | Uses item color independently of ambient modulation and lights. |
Kind: enumValue
public const Electron2D.LightMode LightOnly = 2Uses illumination without ambient contribution.
Kind: enumValue
public const Electron2D.LightMode Normal = 0Combines ambient canvas modulation with illumination.
Kind: enumValue
public const Electron2D.LightMode Unshaded = 1Uses item color independently of ambient modulation and lights.