unreal.OpenXRBlueprintFunctionLibrary

class unreal.OpenXRBlueprintFunctionLibrary(outer: Object | None = None, name: Name | str = 'None')

Bases: BlueprintFunctionLibrary

Open XRBlueprint Function Library

C++ Source:

  • Plugin: OpenXR

  • Module: OpenXRHMD

  • File: OpenXRBlueprintFunctionLibrary.h

classmethod get_environment_blend_mode() OpenXREnvironmentBlendMode

Gets the OpenXR environment blend mode that is currently in use.

Return type:

OpenXREnvironmentBlendMode

classmethod get_supported_environment_blend_modes() Array[OpenXREnvironmentBlendMode]

Gets the OpenXR runtime’s supported environment blend modes, sorted in order from highest to lowest runtime preference.

Return type:

Array[OpenXREnvironmentBlendMode]

classmethod is_composition_layer_inverted_alpha_enabled() bool

Returns true if OpenXR composition layer inverted alpha is enabled.

Return type:

bool

classmethod set_environment_blend_mode(new_blend_mode) None

Sets the OpenXR environment blend mode.

Parameters:

new_blend_mode (OpenXREnvironmentBlendMode) – The new blend mode to be set, if supported.