InputFeatureUsage

struct in UnityEngine.XR

Switch to Manual

Description

Defines a generic usage that maps to an input feature on a device. Use the As method to turn into a generic usage.

Variables

nameThe string name of this usage feature; used internally to map to an input feature on a device.
typeThe type of this usage feature; used internally to map to an input feature on a device.

Public Functions

AsReturns the generic version of this type for retrieving a feature value from a device.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961