IDisplayClusterRenderDevice::SetViewportCamera

Assigns camera to a specified viewport.

Windows
MacOS
Linux

Deprecated

  • This function has been moved to FDisplayClusterViewport. Use GetViewportManager() to access that interface.

References

Module

DisplayCluster

Header

/Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Device/IDisplayClusterRenderDevice.h

Include

#include "Render/Device/IDisplayClusterRenderDevice.h"

Syntax

virtual void SetViewportCamera
(
    const FString & CameraId,
    const FString & ViewportId
)

Remarks

Assigns camera to a specified viewport. If InViewportId is empty, all viewports will be assigned to a new camera. Empty camera ID means default active camera.

Parameters

Parameter

Description

CameraId

ID of a camera (see [camera] in the nDisplay config file

ViewportId

ID of a viewport to assign the camera (all viewports if empty)

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