Cluster Creator Kit Script Reference
    Preparing search index...

    Interface PostProcessColorPropertyItem Beta

    The property for the post-process color value.

    interface PostProcessColorProperty {
        clear(): void;
        setValue(r: number, g: number, b: number, a: number): void;
    }
    Index

    Methods

    Methods

    • Beta

      Clears the property value, setting it to an unset state.

      Returns void

    • Beta

      Sets the value of the property. Colors should be specified in the linear color space. Putting values greater than 1 in the r, g, b components allows for specifying HDR colors. The specified value is clamped between 0 and 1.

      Parameters

      • r: number

        Value for the red component

      • g: number

        Value for the green component

      • b: number

        Value for the blue component

      • a: number

        Value for the alpha component

      Returns void