Struct SetSamplingFrequencyCommand
For a device that is sampled periodically, set the frequency at which the device
is sampled.
Assembly: Unity.InputSystem.dll
public struct SetSamplingFrequencyCommand : IInputDeviceCommandInfo
Fields
Declaration
public InputDeviceCommand baseCommand
Field Value
Declaration
Field Value
Properties
Declaration
public static FourCC Type { get; }
Property Value
The data format identifier of the device command as a FourCC code.
Declaration
public FourCC typeStatic { get; }
Property Value
Methods
Declaration
public static SetSamplingFrequencyCommand Create(float frequency)
Parameters
Type |
Name |
Description |
float |
frequency |
|
Returns
Implements