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

    Class PostProcessingGroup

    A logical grouping of post-processing elements. Currently acts as a "Global Volume", applying its elements to the entire scene. In the future, this can be extended into a spatial BoundingVolume for local overrides.

    Index
    enabled: boolean = false

    If false, the entire post-processing group is bypassed.

    filterMode: number = 0

    The active shader filter mode (e.g. 0 = clean, 1 = nightvision, 2 = noir, 3 = cyber, 4 = vhs, 5 = underworld, 8 = black hole).

    isGlobal: boolean = true

    Currently always true (Global Volume).

    singularityScreenPos: Vector3D = ...

    Center position of the gravitational lensing / singularity effect in NDC [-1, 1] space. Z >= -1 indicates in front of the camera (lenses around it); the sentinel Z = -2 (from Camera.project) indicates behind the camera and bypasses lensing. Defaults to (0, 0, 1) = center of screen in front of camera.