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