Method ClampValue
ClampValue(float)
Clamp the value to range, taking wrap into account
Declaration
public float ClampValue(float v)
Parameters
Type | Name | Description |
---|---|---|
float | v | The value to clamp |
Returns
Type | Description |
---|---|
float | The value clamped to the axis range |