# HapticCapabilities

> Describes the haptic capabilities of the device at an XRNode in the XR input subsystem.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.XR](/engine/6000.7/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule
* **Implements:** [IEquatable\<HapticCapabilities>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct HapticCapabilities : IEquatable<HapticCapabilities>
```

## Properties

| Property                                                                                                    | Description                                                                                                                                                                                                                                                                                                      |
| ----------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [bufferFrequencyHz](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/bufferfrequencyhz.md) | The frequency (in Hz) that this device plays back buffered haptic data.                                                                                                                                                                                                                                          |
| [bufferMaxSize](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/buffermaxsize.md)         | The maximum amount of data that can be sent to an [InputDevice](/engine/6000.7/script-reference/unityengine/xr/inputdevice.md) via [InputDevice.SendHapticBuffer](/engine/6000.7/script-reference/unityengine/xr/inputdevice/sendhapticbuffer.md).                                                               |
| [bufferOptimalSize](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/bufferoptimalsize.md) | The optimal buffer size an [InputDevice](/engine/6000.7/script-reference/unityengine/xr/inputdevice.md) expects to be sent via [InputDevice.SendHapticBuffer](/engine/6000.7/script-reference/unityengine/xr/inputdevice/sendhapticbuffer.md) in order to provide a continuous rumble between individual frames. |
| [numChannels](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/numchannels.md)             | The number of channels that this device plays back haptic data.                                                                                                                                                                                                                                                  |
| [supportsBuffer](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/supportsbuffer.md)       | True if this device supports sending a haptic buffer.                                                                                                                                                                                                                                                            |
| [supportsImpulse](/engine/6000.7/script-reference/unityengine/xr/hapticcapabilities/supportsimpulse.md)     | True if this device supports sending a haptic impulse.                                                                                                                                                                                                                                                           |
