Version: 2019.4

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.