UOculusFunctionLibrary::GetBaseRotationAndPositionOffset

Returns current base rotation and position offset.

Choose your operating system:

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(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.