Version: 2021.3
LanguageEnglish
  • C#

InputFeatureUsage

struct in UnityEngine.XR

/

Implemented in:UnityEngine.XRModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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.