• Clamps the rgb values by the min and max values and returns the result

    Returns

    result

    Parameters

    • value: ReadonlyColor3
    • Optional min: number

      defines minimum clamping value (default is 0)

    • Optional max: number

      defines maximum clamping value (default is 1)

    Returns MutableColor3