Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Render > API/Plugins/DisplayCluster/Render/Viewport
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Viewport/IDisplayClusterViewport.h |
| Include | #include "Render/Viewport/IDisplayClusterViewport.h" |
Syntax
class IDisplayClusterViewport
Remarks
NDisplay: Viewport (interface for GameThread)
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CalculateProjectionMatrix
(
const uint32 InContextNum, |
Math wrappers: support overscan, etc | |
| bool | CalculateView
(
const uint32 InContextNum, |
||
| FString | |||
| const TArray< FDisplayClusterViewport_Context > & | GetContexts () |
||
| UWorld * | Return current world. | ||
| FString | GetId () |
||
| const FDisplayClusterViewport_PostRenderSettings & | |||
| bool | GetProjectionMatrix
(
const uint32 InContextNum, |
||
| const TSharedPtr< class IDisplayClusterProjectionPolicy, ESPMode::ThreadSafe > & | |||
| EDisplayClusterRenderFrameMode | Return current render mode. | ||
| const FDisplayClusterViewport_RenderSettings & | |||
| const FDisplayClusterViewport_RenderSettingsICVFX & | |||
| ADisplayClusterRootActor * | GetRootActor () |
Return the DCRA that owns this viewport | |
| float | GetStereoEyeOffsetDistance
(
const uint32 InContextNum |
Get the distance from the eye to the viewpoint location. | |
| UDisplayClusterCameraComponent * | Return view point camera component for this viewport. | ||
| const IDisplayClusterViewport_CustomPostProcessSettings & | Override postprocess settings for this viewport. | ||
| IDisplayClusterViewport_CustomPostProcessSettings & | |||
| IDisplayClusterViewportManager * | Return the viewport manager that owns this viewport | ||
| bool | IsCurrentWorldHasAnyType
(
const EWorldType::Type InWorldType1, |
Returns true if the current world type is equal to one of the input types. | |
| bool | Returns true if the scene is open now (The current world is assigned and DCRA has already initialized for it). | ||
| FMatrix | MakeProjectionMatrix
(
float InLeft, |
||
| void | SetContexts
(
TArray< FDisplayClusterViewport_Context >& InContexts |
||
| void | SetRenderSettings
(
const FDisplayClusterViewport_RenderSettings& InRenderSettings |
||
| void | SetupSceneView
(
uint32 ContextNum, |
Setup scene view for rendering specified Context. | |
| bool | SetupViewPoint
(
FMinimalViewInfo& InOutViewInfo |
Setup viewpoint for this viewport | |
| TSharedPtr< IDisplayClusterViewport, ESPMode::ThreadSafe > | ToSharedPtr () |
Get TSharedPtr from self. | |
| TSharedPtr< const IDisplayClusterViewport, ESPMode::ThreadSafe > | ToSharedPtr () |