This version of Unity is unsupported.

InputFeatureUsage

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Description

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

Properties

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 Methods

AsReturns the generic version of this type for retrieving a feature value from a device.