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 5 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 HapticCapabilities.supportsBuffer. Will be set to 0 if HapticCapabilities.supportsBuffer is false.