Small World Engine API Reference - v0.78.00
    Preparing search index...

    Class FlashElement

    Full-screen flash overlay. intensity is normally driven per-frame by the engine loop from the active camera's flashIntensity/flashColor (see camera FlashEffect), not set directly.

    Hierarchy (View Summary)

    Index
    color: Color = ...

    Tint color of the flash (default: white).

    enabled: boolean = true

    If false, the effect will be bypassed (cheap).

    intensity: number = 0

    Current flash strength in [0, 1].

    type: FLASH = PostProcessingEffectType.FLASH

    Unique string identifier for the effect.