Summary
Makes sure the `value` is between the `min` and `max` (inclusive).
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
- Containing Type
- PlatformerUtilities
Syntax
public static void Clamp(ref float value, float min, float max)
Parameters
| Name | Type | Description |
|---|---|---|
| value | float | |
| min | float | |
| max | float |
Return Value
| Type | Description |
|---|---|
| void |