Struct SetSamplingFrequencyCommand
For a device that is sampled periodically, set the frequency at which the device is sampled.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Input.LowLevel
Syntax
public struct SetSamplingFrequencyCommand : IInputDeviceCommandInfo
Fields
baseCommand
Declaration
public InputDeviceCommand baseCommand
Field Value
| Type | Description |
|---|---|
| InputDeviceCommand |
frequency
Declaration
public float frequency
Field Value
| Type | Description |
|---|---|
| System.Single |
kSize
Declaration
public const int kSize = 12
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Properties
Type
Declaration
public static FourCC Type { get; }
Property Value
| Type | Description |
|---|---|
| FourCC |
Methods
Create(Single)
Declaration
public static SetSamplingFrequencyCommand Create(float frequency)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | frequency |
Returns
| Type | Description |
|---|---|
| SetSamplingFrequencyCommand |
GetTypeStatic()
Declaration
public FourCC GetTypeStatic()
Returns
| Type | Description |
|---|---|
| FourCC |