@cccode/fxr - v22.0.0

    Function mix

    • Creates a recolor function that linearly interpolates between the original color and the given color using the interpolation factor t.

      Parameters

      • color: Vector4

        The target color to interpolate towards.

      • t: number

        The interpolation factor. At t=0, the colors will not be modified at all. At t=1, the colors will be replaced with the target color. At t=0.5, the color will be the average of the original color and the target color.

      Returns RecolorFunction

    MMNEPVFCICPMFPCPTTAAATR