IXRTrackingSystem::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/IXRTrackingSystem.h

Include

#include "IXRTrackingSystem.h"

Syntax

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

Remarks

Get the IXCamera instance for the given device.

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