Table of Contents

Method Clamp

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

Clamp(float)

Clamps the value to the range [min, max].

[Version(4, 2, 0)]
public float Clamp(float value)

Parameters

value float

The value to clamp.

Returns

float

The clamped value.