Class DoubleControl
A control reading a double.
Inherited Members
Namespace: UnityEngine.InputSystem.Controls
Assembly: Unity.InputSystem.dll
Syntax
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
WriteValueIntoState(double, void*)
Declaration
public override void WriteValueIntoState(double value, void* statePtr)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | |
| void* | statePtr |