Documentation

Unity Engine

Download Unity

Unity Engine

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 a day ago

Definition

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.