TryGetHapticCapabilities(out HapticCapabilities)
Gets the haptic capabilities of the device.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
TryGetHapticCapabilities(HapticCapabilities)
public bool TryGetHapticCapabilities(out HapticCapabilities capabilities)
Parameters
A HapticCapabilities struct to receive the capabilities of this device.
Returns
Type | Description |
|---|---|
| bool | Returns true if the device supports any form of haptics. Returns false otherwise. |