The Android XR SDK is now available in Developer Preview. We want your feedback! Visit our
support page to reach out.
Stay organized with collections
Save and categorize content based on your preferences.
XREnvironmentBlendModeFeature
This OpenXRInteractionFeature
configures XrEnvironmentBlendMode
at OpenXR runtime.
Summary
Inheritance
Inherits from: OpenXRFeature
Public attributes
|
CurrentBlendMode => OpenXRAndroidApi.GetBlendMode()
|
XrEnvironmentBlendMode
The current blend mode that is used by xrEndFrame .
|
FeatureId = "com.google.xr.extensions.blendmode"
|
const string
The feature ID string.
|
SupportedEnvironmentBlendModes = new List()
|
List< XrEnvironmentBlendMode >
The environment blend modes supported by the current system for the current view configuration change.
|
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.
|
Public attributes
CurrentBlendMode
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
const string FeatureId = "com.google.xr.extensions.blendmode"
SupportedEnvironmentBlendModes
List< XrEnvironmentBlendMode > SupportedEnvironmentBlendModes = new List()
The environment blend modes supported by the current system for the current view configuration change.
UiName
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
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
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[],[],null,["# XREnvironmentBlendModeFeature Class Reference\n\nXREnvironmentBlendModeFeature\n=============================\n\nThis `OpenXRInteractionFeature` configures ` XrEnvironmentBlendMode`\n\n` at OpenXR runtime. `\n\n`Summary`\n---------\n\n### `Inheritance`\n\n`Inherits from: ``OpenXRFeature`\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|\n| [CurrentBlendMode](#currentblendmode)` =\u003e OpenXRAndroidApi.GetBlendMode()` | `XrEnvironmentBlendMode` The current blend mode that is used by `xrEndFrame`. |\n| [FeatureId](#featureid)` = \"com.google.xr.extensions.blendmode\"` | `const string` The feature ID string. |\n| [SupportedEnvironmentBlendModes](#supportedenvironmentblendmodes)` = new List`() | `List\u003c XrEnvironmentBlendMode \u003e` The environment blend modes supported by the current system for the current view configuration change. |\n| [UiName](#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. |\n\n| ### Properties ||\n|-----------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [RequestedEnvironmentBlendMode](#requestedenvironmentblendmode) | `XrEnvironmentBlendMode` Gets or sets the requested blend mode at OpenXR runtime. |\n\nPublic attributes\n-----------------\n\n### CurrentBlendMode\n\n```c#\nXrEnvironmentBlendMode CurrentBlendMode =\u003e OpenXRAndroidApi.GetBlendMode()\n``` \nThe current blend mode that is used by `xrEndFrame`.\n\nNote: It takes one frame to apply the blend mode changes. \n\n### FeatureId\n\n```c#\nconst string FeatureId = \"com.google.xr.extensions.blendmode\"\n``` \nThe feature ID string. \n\n### SupportedEnvironmentBlendModes\n\n```c#\nList\u003c XrEnvironmentBlendMode \u003e SupportedEnvironmentBlendModes = new List()\n``` \nThe environment blend modes supported by the current system for the current view configuration change. \n\n### UiName\n\n```c#\nconst string UiName = \"Environment Blend Mode\"\n``` \nThe UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.\n\nProperties\n----------\n\n### RequestedEnvironmentBlendMode\n\n```c#\nXrEnvironmentBlendMode RequestedEnvironmentBlendMode\n``` \nGets or sets the requested blend mode at OpenXR runtime.\n\nWhen this feature is enabled, the value passed here will be passed to `xrEndFrame`. The value must be a member of [SupportedEnvironmentBlendModes](/develop/xr/unity/reference/class/Google/XR/Extensions/XREnvironmentBlendModeFeature#supportedenvironmentblendmodes)\n`\n`"]]