Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Render > API/Plugins/DisplayCluster/Render/Projection
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Projection/IDisplayClusterProjectionPolicy.h |
| Include | #include "Render/Projection/IDisplayClusterProjectionPolicy.h" |
Syntax
class IDisplayClusterProjectionPolicy
Remarks
NDisplay projection policy
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyWarpBlend_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Performs warp&blend. | |
| void | BeginUpdateFrameContexts
(
IDisplayClusterViewport* InViewport |
Called before FDisplayClusterViewport::UpdateFrameContexts() From this function, the policy can override any viewport settings (custom overscan, etc). | |
| void | BeginWarpBlend_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Initializing the projection policy logic for the current frame before applying warp blending. | |
| bool | CalculateView
(
IDisplayClusterViewport* InViewport, |
Calculate view projection data | |
| void | EndUpdateFrameContexts
(
IDisplayClusterViewport* InViewport |
Called after FDisplayClusterViewport::UpdateFrameContexts() | |
| void | EndWarpBlend_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Completing the projection policy logic for the current frame after applying warp blending. | |
| bool | GetCustomRenderTargetSize
(
const IDisplayClusterViewport* InViewport, |
This function can override the size of the RenderTarget texture for the viewport. | |
| const FString & | GetId () |
Return projection policy instance ID | |
| UMeshComponent * | GetOrCreatePreviewEditableMeshComponent
(
IDisplayClusterViewport* InViewport |
Build preview Editable mesh This MeshComponent is a copy of the preview mesh and can be moved freely with the UI visualization. | |
| UMeshComponent * | GetOrCreatePreviewMeshComponent
(
IDisplayClusterViewport* InViewport, |
Build preview mesh This MeshComponent cannot be moved freely. | |
| USceneComponent *const | Return Origin point component used by this viewport This component is used to convert from the local DCRA space to the local projection policy space, which contains the calibrated geometry data used for the warp. | ||
| const TMap< FString, FString > & | Return projection policy configuration | ||
| USceneComponent *const | GetPreviewEditableMeshOriginComponent
(
IDisplayClusterViewport* InViewport |
Return Origin point component used by preview Editable mesh | |
| USceneComponent *const | GetPreviewMeshOriginComponent
(
IDisplayClusterViewport* InViewport |
Return Origin point component used by preview mesh | |
| bool | GetProjectionMatrix
(
IDisplayClusterViewport* InViewport, |
Gets projection matrix | |
| const FString & | GetType () |
Return projection policy type | |
| const FString | GetTypeId () |
Return projection policy type | |
| bool | GetWarpBlendInterface
(
TSharedPtr< IDisplayClusterWarpBlend, ESPMode::ThreadSafe >& OutWarpBlendInterface |
Return warpblend interface of this policy | |
| bool | GetWarpBlendInterface_RenderThread
(
TSharedPtr< IDisplayClusterWarpBlend, ESPMode::ThreadSafe >& OutWarpBlendInterfaceProxy |
Return warpblend interface proxy of this policy | |
| IDisplayClusterWarpPolicy * | Get warp policy | ||
| IDisplayClusterWarpPolicy * | Get warp policy on rendering thread | ||
| void | HandleEndScene
(
IDisplayClusterViewport* InViewport |
Called when current level is going to be closed (i.e. before loading a new map) | |
| bool | HandleStartScene
(
IDisplayClusterViewport* InViewport |
Called each time a new game level starts | |
| bool | HasPreviewEditableMesh
(
IDisplayClusterViewport* InViewport |
Ask projection policy instance if it has any Editable mesh based preview | |
| bool | HasPreviewMesh
(
IDisplayClusterViewport* InViewport |
Ask projection policy instance if it has any mesh based preview | |
| bool | Ask projection policy instance if it has any mesh based preview | ||
| bool | IsCameraProjectionVisible
(
const FRotator& InViewRotation, |
Return true, if camera projection visible for this viewport geometry ICVFX Performance : if camera frame not visible on this node, disable render for this camera | |
| bool | IsConfigurationChanged
(
const FDisplayClusterConfigurationProjection* InConfigurationProjectionPolicy |
Check projection policy settings changes | |
| bool | Returns if a policy provides warp&blend feature | ||
| bool | ResolveInternalRenderTargetResource_RenderThread
(
FRHICommandListImmediate& RHICmdList, |
Override copying 'InternalRenderTargetResource' to 'InputShaderResource'. | |
| void | SetupProjectionViewPoint
(
IDisplayClusterViewport* InViewport, |
Override view from this projection policy | |
| void | SetWarpPolicy
(
IDisplayClusterWarpPolicy* InWarpPolicy |
Set warp policy for this projection | |
| bool | This policy can support ICVFX rendering | ||
| bool | ShouldSupportICVFX
(
IDisplayClusterViewport* InViewport |
Returns true if this policy supports ICVFX rendering | |
| bool | Handle request for additional render targetable resource inside viewport api for projection policy. | ||
| bool | ShouldUseAnySizeScaleForRenderTarget
(
const IDisplayClusterViewport* InViewport |
This function controls the RTT size multipliers - if false is returned, all modifiers should be ignored. | |
| bool | Returns true if the policy supports input mip-textures. | ||
| void | UpdatePostProcessSettings
(
IDisplayClusterViewport* InViewport |
Projection policy can override PP | |
| void | UpdateProxyData
(
IDisplayClusterViewport* InViewport |
Send projection policy game thread data to render thread proxy called once per frame from FDisplayClusterViewportManager::FinalizeNewFrame |