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.

Properties

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

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"

The feature ID string.

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