Struct GetCurrentHapticStateCommand
Namespace: UnityEngine.InputSystem.XR.Haptics
Syntax
public struct GetCurrentHapticStateCommand : IInputDeviceCommandInfo
Fields
samplesAvailable
Declaration
public uint samplesAvailable
Field Value
| Type | Description |
|---|---|
| UInt32 |
samplesQueued
Declaration
public uint samplesQueued
Field Value
| Type | Description |
|---|---|
| UInt32 |
Properties
currentState
Declaration
public readonly HapticState currentState { get; }
Property Value
| Type | Description |
|---|---|
| HapticState |
typeStatic
Declaration
public readonly FourCC typeStatic { get; }
Property Value
| Type | Description |
|---|---|
| FourCC |
Implements
Methods
Create()
Declaration
public static GetCurrentHapticStateCommand Create()
Returns
| Type | Description |
|---|---|
| GetCurrentHapticStateCommand |