FXRTrackingSystemBase::GetXRCamera

Get the IXCamera instance for the given device.

Windows
MacOS
Linux

Override Hierarchy

IXRTrackingSystem::GetXRCamera()

FXRTrackingSystemBase::GetXRCamera()

References

Module

HeadMountedDisplay

Header

/Engine/Source/Runtime/HeadMountedDisplay/Public/XRTrackingSystemBase.h

Include

#include "XRTrackingSystemBase.h"

Source

/Engine/Source/Runtime/HeadMountedDisplay/Private/XRTrackingSystemBase.cpp

Syntax

virtual TSharedPtr< class IXRCamera, ESPMode::ThreadSafe > GetXRCamera
(
    int32 DeviceId
)

Remarks

Get the IXCamera instance for the given device. The default implementation only supports a single IXRCamera for the HMD Device, returning a FDefaultXRCamera instance.

Returns

a shared pointer to an IXRCamera.

Parameters

Parameter

Description

DeviceId

the device the camera should track.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss