Version: 2019.2

InputDevice.TryGetHapticCapabilities

Switch to Manual
public bool TryGetHapticCapabilities (out XR.HapticCapabilities capabilities);

Parameters

capabilitiesA 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.