UOculusFunctionLibrary::SetReorientHMDOnControllerRecenter

Sets the HMD recenter behavior to a mode that specifies HMD recentering behavior when a controller recenter is performed.

Windows
MacOS
Linux

References

Module

OculusHMD

Header

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/OculusFunctionLibrary.h

Include

#include "OculusFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Private/OculusFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="OculusLibrary")
static void SetReorientHMDOnControllerRecenter
(
    bool recenterMode
)

Remarks

Sets the HMD recenter behavior to a mode that specifies HMD recentering behavior when a controller recenter is performed. If the recenterMode specified is 1, the HMD will recenter on controller recenter; if it's 0, only the controller will recenter. Returns false if not supported.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss