Table of Contents

Method ClampCoord

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

ClampCoord(float, float, float)

Returns coordinate value clamped to the inclusive range of min and max.

public static float ClampCoord(float v, float min, float max)

Parameters

v float

The value to be clamped.

min float

The lower bound of the result.

max float

The upper bound of the result.

Returns

float