ClampedRange.Clamp

Method in ClampedRange

Declaration

public float Clamp(float value)

Description

Clamps a value to the range.

Parameters

valueThe value to clamp.

Returns

floatThe clamped value.