This version of Unity is unsupported.

InputDevice.TryGetHapticCapabilities

Declaration

public bool TryGetHapticCapabilities(out XR.HapticCapabilities capabilities);

Parameters

capabilities A HapticCapabilities struct to receive the capabilities of this device.

Returns

bool Returns true if the device supports any form of haptics. Returns false otherwise.

Description

Gets the haptic capabilities of the device.