ドキュメント

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.