Struct BufferedRumble
Namespace: UnityEngine.InputSystem.XR.Haptics
Assembly: Unity.InputSystem.dll
Syntax
public struct BufferedRumble
Constructors
BufferedRumble(InputDevice)
Declaration
public BufferedRumble(InputDevice device)
Parameters
Type | Name | Description |
---|---|---|
InputDevice | device |
Properties
capabilities
Declaration
public readonly HapticCapabilities capabilities { get; }
Property Value
Type | Description |
---|---|
HapticCapabilities |
Methods
EnqueueRumble(byte[])
Declaration
public void EnqueueRumble(byte[] samples)
Parameters
Type | Name | Description |
---|---|---|
byte[] | samples |