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

    Class GrainElement

    Base class for a post-processing element (effect).

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    enabled: boolean = true

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

    intensity: number = 0.05

    Controls the intensity/opacity of the film grain (default: 0.05)

    type: GRAIN = PostProcessingEffectType.GRAIN

    Unique string identifier for the effect.