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

Parameters

usageUsage that describes the feature to retrieve.
valueA variable of the appropriate type to receive the information about the feature.

Returns

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

Description

Retrieves information about the input feature specified by the Usage parameter.

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.

Did you find this page useful? Please give it a rating: