Inheritance
System.Object
NormalizeProcessor
public class NormalizeProcessor : InputProcessor<float>
Fields
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
Field Value
Type |
Description |
System.Single |
|
Declaration
Field Value
Type |
Description |
System.Single |
|
Methods
Declaration
public static float Normalize(float value, float min, float max, float zero)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
System.Single |
min |
|
System.Single |
max |
|
System.Single |
zero |
|
Returns
Type |
Description |
System.Single |
|
Declaration
public override float Process(float value, InputControl<float> control)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
InputControl<System.Single> |
control |
|
Returns
Type |
Description |
System.Single |
|
Overrides
UnityEngine.InputSystem.InputProcessor<System.Single>.Process(System.Single, UnityEngine.InputSystem.InputControl<System.Single>)