Version: 2020.2
언어: 한국어

파라미터

channel The channel to receive the impulse.
amplitude The normalized (0.0 to 1.0) amplitude value of the haptic impulse to play on the device.
duration The duration in seconds that the haptic impulse will play. Only supported on Oculus.

반환

bool Returns true if successful. Returns false otherwise.

설명

Sends a haptic impulse to a device.

Sends an impulse (amplitude and frequency) to a device.

Note: Not all devices support all parameters (OpenVR currently only supports amplitude). To determine whether impulse haptics are supported, call the TryGetHapticCapabilities method and inspect the supportsImpulse property.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961