UOculusFunctionLibrary::GetBaseRotationAndPositionOffset

Returns current base rotation and position offset.

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",
          Meta=(DeprecatedFunction, DeprecationMessage="A hack, proper camera positioning should be used"))
static void GetBaseRotationAndPositionOffset
(
    FRotator & OutRot,
    FVector & OutPosOffset
)

Remarks

Returns current base rotation and position offset.

Parameters

Parameter

Description

OutRot

(out) Rotator object with base rotation

OutPosOffset

(out) the vector with previously set position offset.

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