# As<T>()

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

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.XR](/engine/6000.6/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
public InputFeatureUsage<T> As<T>()
```

### Returns

| Type                                                                                         | Description |
| -------------------------------------------------------------------------------------------- | ----------- |
| [InputFeatureUsage\<T>](/engine/6000.6/script-reference/unityengine/xr/inputfeatureusage.md) |             |
