• Sets the tint of the water.

    Parameters

    • red: number

      0-255 red color (value mod 256).

    • green: number

      0-255 green color (value mod 256).

    • blue: number

      0-255 blue color (value mod 256).

    • alpha: number

      0-255 opaqueness (value mod 256).

    Returns void

    Note

    The default is 255 for all parameters.

    Bug

    In HD, the alpha setting seems to only affect the water surface.

Generated using TypeDoc