Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


bufferMaxSize

The maximum amount of data that can be sent to an InputDevice via InputDevice.SendHapticBuffer.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public uint bufferMaxSize { get; }

Remarks

If the InputDevice receives an amount of data greater than this, then InputDevice.SendHapticBuffer fails and a rumble is not triggered. Check that the device supports haptic buffers via InputDevice.TryGetHapticCapabilities and HapticCapabilities.supportsBuffer. Will be set to 0 if HapticCapabilities.supportsBuffer is false.