Cluster Creator Kit Script Reference
    Preparing search index...

    Interface DepthOfFieldSettingsItem Beta

    The configuration values for the post-process DepthOfField effect.

    interface DepthOfFieldSettings {
        active: boolean;
        aperture: PostProcessFloatProperty;
        enabled: PostProcessBoolProperty;
        focalLength: PostProcessFloatProperty;
        focusDistance: PostProcessFloatProperty;
    }
    Index

    Properties

    active: boolean

    Sets the aperture for the DepthOfField effect. Values between 0.05 and 32 can be set. If a value less than 0.05 is set, 0.05 will be applied. If a value greater than 32 is set, 32 will be applied.

    Sets the focal length for the DepthOfField effect. Values between 1 and 300 can be set. If a value less than 1 is set, 1 will be applied. If a value greater than 300 is set, 300 will be applied.

    Sets the focus distance for the DepthOfField effect. Values greater than or equal to 0.1 can be set. If a value less than 0.1 is set, 0.1 will be applied.