• Clamps the rgb values by the min and max values and stores the result into "result"

    Parameters

    • value: ReadonlyColor4
    • min: undefined | number

      defines minimum clamping value (default is 0)

    • max: undefined | number

      defines maximum clamping value (default is 1)

    • result: MutableColor4

      defines color to store the result into.

    Returns void