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: