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