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

    Class BloomElement

    Bloom effect parameters.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    color: Color = ...

    Color tint applied to the bloom highlights (default: white).

    enabled: boolean = true

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

    intensity: number = 1.0

    Intensity of the bloom effect (default: 1.0).

    radius: number = 1.0

    Radius/spread of the bloom. Controls the filter weights or mip level accumulation (default: 1.0).

    softThreshold: number = 0.1

    Controls the soft knee for the threshold (default: 0.1).

    threshold: number = 1.0

    The brightness threshold at which bloom is applied (default: 1.0).

    type: BLOOM = PostProcessingEffectType.BLOOM

    Unique string identifier for the effect.