Navigation
API > API/Plugins > API/Plugins/OpenXRInput > API/Plugins/OpenXRInput/UOpenXRInputFunctionLibrary
References
| Module | OpenXRInput |
| Header | /Engine/Plugins/Runtime/OpenXR/Source/OpenXRInput/Public/OpenXRInputFunctionLibrary.h |
| Include | #include "OpenXRInputFunctionLibrary.h" |
| Source | /Engine/Plugins/Runtime/OpenXR/Source/OpenXRInput/Private/OpenXRInputFunctionLibrary.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"Input&124;XRTracking"&41;
static PRAGMA_DISABLE_DEPRECATION_WARNINGSbool BeginXRSession
&40;
class UPlayerMappableInputConfig &42; InputConfig
&41;
Remarks
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. False if the input config can't be attached to the session, true otherwise
Parameters
| Name | Description |
|---|---|
| InputConfig | The path to the player mappable input config asset |
| AttachToSession | Attach all pending configs to the running session |