Method GetFeature
GetFeature<TFeature>()
Returns the first feature that matches the given type.
Declaration
public TFeature GetFeature<TFeature>() where TFeature : OpenXRFeature
Returns
Type | Description |
---|---|
TFeature | Feature by type |
Type Parameters
Name | Description |
---|---|
TFeature | Type of the feature to retrieve |
GetFeature(Type)
Returns the first feature that matches the given type.
Declaration
public OpenXRFeature GetFeature(Type featureType)
Parameters
Type | Name | Description |
---|---|---|
Type | featureType | Type of the feature to return |
Returns
Type | Description |
---|---|
OpenXRFeature | Feature by type |