Module |
|
Header |
/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/IOculusHMDModule.h |
Include |
#include "IOculusHMDModule.h" |
void SetBaseRotationAndPositionOffset
(
FRotator BaseRot,
FVector PosOffset,
EOrientPositionSelector::Type Options
)
Sets 'base rotation' - the rotation that will be subtracted from the actual HMD orientation. The position offset might be added to current HMD position, effectively moving the virtual camera by the specified offset. The addition occurs after the HMD orientation and position are applied.
Parameter |
Description |
---|---|
BaseRot |
(in) Rotator object with base rotation |
PosOffset |
(in) the vector to be added to HMD position. |
Options |
(in) specifies either position, orientation or both should be set. |