Navigation
API > API/Plugins > API/Plugins/XRBase > API/Plugins/XRBase/FXRTrackingSystemBase
- IXRTrackingSystem::GetRelativeEyePose()
- FXRTrackingSystemBase::GetRelativeEyePose()
References
| Module | XRBase |
| Header | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Public/XRTrackingSystemBase.h |
| Include | #include "XRTrackingSystemBase.h" |
| Source | /Engine/Plugins/Runtime/XRBase/Source/XRBase/Private/XRTrackingSystemBase.cpp |
virtual bool GetRelativeEyePose
(
int32 DeviceId,
int32 ViewIndex,
FQuat & OutOrientation,
FVector & OutPosition
)
Remarks
If the device id represents a head mounted display, fetches the relative position of the given eye relative to the eye. If the device is does not represent a stereoscopic tracked camera, orientation and position should be identity and zero and the return value should be false.