Class DoubleControl
A control reading a Double.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Syntax
[Preserve]
public class DoubleControl : InputControl<double>
Constructors
DoubleControl()
Default-initialize the control.
Declaration
public DoubleControl()
Methods
ReadUnprocessedValueFromState(Void*)
Declaration
public override double ReadUnprocessedValueFromState(void *statePtr)
Parameters
| Type | Name | Description | 
|---|---|---|
| Void* | statePtr | 
Returns
| Type | Description | 
|---|---|
| Double | 
Overrides
UnityEngine.InputSystem.InputControl<System.Double>.ReadUnprocessedValueFromState(System.Void*)
WriteValueIntoState(Double, Void*)
Declaration
public override void WriteValueIntoState(double value, void *statePtr)
Parameters
| Type | Name | Description | 
|---|---|---|
| Double | value | |
| Void* | statePtr | 
Overrides
UnityEngine.InputSystem.InputControl<System.Double>.WriteValueIntoState(System.Double, System.Void*)