Class IntegerControl
  A generic input control reading integer values.
 
  
  
    Inheritance
    
    
    
    IntegerControl
   
  
  
  Assembly: Unity.InputSystem.dll
  
  
    public class IntegerControl : InputControl<int>
   
  Constructors
  
  
  Default-initialize an integer control.
 
  
  Declaration
  
  Methods
  
  
  Calculates and returns a optimized data type that can represent a control's value in memory directly.
The value then is cached in optimizedControlDataType.
This method is for internal use only, you should not call this from your own code.
 
  
  Declaration
  
    protected override FourCC CalculateOptimizedControlDataType()
   
  Returns
  
  Overrides
  
  
  
  
  
  Declaration
  
    public override int ReadUnprocessedValueFromState(void* statePtr)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | void* | 
        statePtr | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
  
  
  
  Declaration
  
    public override void WriteValueIntoState(int value, void* statePtr)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | int | 
        value | 
         | 
      
      
        | void* | 
        statePtr | 
         | 
      
    
  
  Overrides
  
  Extension Methods