Module |
|
Header |
/Engine/Source/Runtime/HeadMountedDisplay/Public/HeadMountedDisplayFunctionLibrary.h |
Include |
#include "HeadMountedDisplayFunctionLibrary.h" |
Source |
/Engine/Source/Runtime/HeadMountedDisplay/Private/HeadMountedDisplayFunctionLibrary.cpp |
Grabs the current orientation and position for the HMD. If positional tracking is not available, DevicePosition will be a zero vector
Parameter |
Description |
---|---|
DeviceRotation |
(out) The device's current rotation |
DevicePosition |
(out) The device's current position, in its own tracking space |