Navigation
Unreal Engine C++ API Reference > Plugins > RemoteSession > Channels > FXRTrackingProxy
- IXRTrackingSystem::GetCurrentPose()
- FXRTrackingProxy::GetCurrentPose()
References
Module | RemoteSession |
Header | /Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionXRTrackingChannel.h |
Include | #include "Channels/RemoteSessionXRTrackingChannel.h" |
Source | /Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Private/Channels/RemoteSessionXRTrackingChannel.cpp |
virtual bool GetCurrentPose
&40;
int32 DeviceId,
FQuat & OutOrientation,
FVector & OutPosition
&41;
Remarks
Get the current pose for a device. This method must be callable both on the render thread and the game thread. For devices that don't support positional tracking, OutPosition will be at the base position. true if the pose is valid or not.
Parameters
Name | Description |
---|---|
DeviceId | the device to request the pose for. |
OutOrientation | The current orientation of the device |
OutPosition | The current position of the device |