bufferOptimalSize
The optimal buffer size an InputDevice expects to be sent via InputDevice.SendHapticBuffer in order to provide a continuous rumble between individual frames.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public uint bufferOptimalSize { get; }
Remarks
Check that the device supports haptic buffers via InputDevice.TryGetHapticCapabilities and _supportsBuffer. Will be set to 0 if _supportsBuffer is false.