IDisplayClusterRenderDevice::SetViewportCamera

Assigns camera to a specified viewport.

Windows
MacOS
Linux

References

Module

DisplayCluster

Header

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

Include

#include "Render/Device/IDisplayClusterRenderDevice.h"

Syntax

void SetViewportCamera
(
    const FString & InCameraId,
    const FString & InViewportId
)

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

InCameraId

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

InViewportId

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