ColorRange.Clamp

Method in ColorRange

Declaration

public Color Clamp(Color value)

Description

Clamps a value to the range.

Parameters

valueThe value to clamp.

Returns

ColorThe clamped value.