Version: 2022.2
言語: 日本語

パラメーター

usage Usage that describes the feature to retrieve.
time A DateTime struct with the local time at which to query for data.
value A variable of the appropriate type to receive the information about the feature.

戻り値

bool True if the feature information is retrieved; otherwise false.

説明

Retrieves information about the input feature specified by the Usage parameter. Those functions which take a time parameter allow querying for that feature at a particular point in time

See XR.InputDevice.CommonUsages for valid usages that can be used to retrieve input values. Note: not all of these features will be available on all devices. If a feature is not available this function will return false.

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