Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/FDisplayClusterViewport_RenderSe-
Description
Assign parent viewport to this. The main idea is copiing some render settings and math from the parent viewport. This is used for a 'link' projection policy to render LC and CK from the same frustum assigned as the parent (outer for LC, incamera for CK). Also, child viewports are only updated when the parent viewport is updated (sorted in ViewportManager/Proxy).
| Name | AssignParentViewport |
| Type | function |
| Header File | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/Containers/DisplayClusterViewport_RenderSettings.h |
| Include Path | #include "Render/Viewport/Containers/DisplayClusterViewport_RenderSettings.h" |
void AssignParentViewport
(
const FString & InParentViewportId,
const FDisplayClusterViewport_RenderSettings & InParentSettings
)
Parameters
| Name | Remarks |
|---|---|
| InParentViewportId | parent viewport name |
| InParentSettings | parent viewport rendering settings. |