Enum AxisControl.Clamp
Clamping behavior for an axis control.
Namespace: UnityEngine.InputSystem.Controls
Syntax
public enum Clamp
Fields
Name | Description | Value |
---|---|---|
None | Do not clamp values. |
0 |
BeforeNormalize | Clamp values to clampMin and clampMax before normalizing the value. |
1 |
AfterNormalize | Clamp values to clampMin and clampMax after normalizing the value. |
2 |
ToConstantBeforeNormalize | Clamp values any value below clampMin or above clampMax to clampConstant before normalizing the value. |
3 |