# XREnvironmentBlendModeFeature

This`OpenXRInteractionFeature`configures` XrEnvironmentBlendMode`

` at OpenXR runtime. `

## `Summary`

### `Inheritance`

`Inherits from: ``OpenXRFeature`

|                                                                                                                                                           ### Public attributes                                                                                                                                                            ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|
| [CurrentBlendMode](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#currentblendmode)` => OpenXRAndroidApi.GetBlendMode()`       | `XrEnvironmentBlendMode` The current blend mode that is used by `xrEndFrame`.                                                           |
| [FeatureId](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#featureid)` = "com.google.xr.extensions.blendmode"`                 | `const string` The feature ID string.                                                                                                   |
| [SupportedEnvironmentBlendModes](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#supportedenvironmentblendmodes)` = new List`() | `List< XrEnvironmentBlendMode >` The environment blend modes supported by the current system for the current view configuration change. |
| [UiName](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#uiname)` = "Environment Blend Mode"`                                   | `const string` The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.     |

|                                                                                                                           ### Properties                                                                                                                            ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
| [RequestedEnvironmentBlendMode](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#requestedenvironmentblendmode) | `XrEnvironmentBlendMode` Gets or sets the requested blend mode at OpenXR runtime. |

## Public attributes

### CurrentBlendMode

```c#
XrEnvironmentBlendMode CurrentBlendMode => OpenXRAndroidApi.GetBlendMode()
```  
The current blend mode that is used by `xrEndFrame`.

Note: It takes one frame to apply the blend mode changes.  

### FeatureId

```c#
const string FeatureId = "com.google.xr.extensions.blendmode"
```  
The feature ID string.  

### SupportedEnvironmentBlendModes

```c#
List< XrEnvironmentBlendMode > SupportedEnvironmentBlendModes = new List()
```  
The environment blend modes supported by the current system for the current view configuration change.  

### UiName

```c#
const string UiName = "Environment Blend Mode"
```  
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.

## Properties

### RequestedEnvironmentBlendMode

```c#
XrEnvironmentBlendMode RequestedEnvironmentBlendMode
```  
Gets or sets the requested blend mode at OpenXR runtime.

When this feature is enabled, the value passed here will be passed to `xrEndFrame`. The value must be a member of [SupportedEnvironmentBlendModes](https://developer.android.com/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#supportedenvironmentblendmodes)
`
`