unreal.OpenXRInputFunctionLibrary

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

Bases: BlueprintFunctionLibrary

Open XRInput Function Library

C++ Source:

  • Plugin: OpenXR

  • Module: OpenXRInput

  • File: OpenXRInputFunctionLibrary.h

classmethod begin_xr_session(input_config) bool

Add a player mappable input config for Enhanced Input. This will make the tracking system aware of the actions and bindings that are used for XR motion controllers. Attaching input configs to the session can only be done once, so if multiple input configs need to be added only check AttachToSession for the last input config.

Parameters:

input_config (PlayerMappableInputConfig) – The path to the player mappable input config asset

Returns:

False if the input config can’t be attached to the session, true otherwise

Return type:

bool

classmethod end_xr_session() None

End XRSession