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 true if device can be queried, false otherwise.

Description

Gets the haptic capabilities of the device.