Illutions Engine API - v0.26.0
    Preparing search index...

    Interface FogCfg

    Defines the fog settings controlling scene depth-based color attenuation.

    interface FogCfg {
        color: ColorRepresentation;
        enable: boolean;
        far: number;
        near: number;
    }
    Index
    color: ColorRepresentation

    Fog color value.

    0x000000
    
    enable: boolean

    Activates fog in the scene.

    false
    
    far: number

    Distance at which fog ends.

    100
    
    near: number

    Distance at which fog begins.

    0