Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Render > API/Plugins/DisplayCluster/Render/Warp
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Render/Warp/IDisplayClusterWarpPolicy.h |
| Include | #include "Render/Warp/IDisplayClusterWarpPolicy.h" |
Syntax
class IDisplayClusterWarpPolicy
Remarks
Warp policy interface Customize warp math for projection policies. Multiple projections can use the same warp policy.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginCalcFrustum
(
IDisplayClusterViewport* InViewport, |
Call before CalcFrustum() | |
| void | EndCalcFrustum
(
IDisplayClusterViewport* InViewport, |
Call after CalcFrustum() | |
| const FString & | GetId () |
Return warp policy instance ID | |
| const FString & | GetType () |
Return warp policy type | |
| void | HandleNewFrame
(
const TArray< TSharedPtr< IDisplayClusterViewport, ESPMode::ThreadSafe > >& InViewports |
Handle new frame for viewports group. | |
| bool | HasPreviewEditableMesh
(
IDisplayClusterViewport* InViewport |
Ask warp policy instance if it has any Editable mesh based preview | |
| void | OnUpdateDisplayDeviceMeshAndMaterialInstance
(
IDisplayClusterViewportPreview& InViewportPreview, |
Perform any operations on the mesh and material instance, such as setting parameter values. | |
| bool | OverrideCalcFrustum
(
IDisplayClusterViewport* InViewport, |
Override frustum for viewport context This function is called only when the ShouldOverrideCalcFrustum() function returns true | |
| bool | ShouldOverrideCalcFrustum
(
IDisplayClusterViewport* InViewport |
Should override frustum for viewport context | |
| bool | ShouldSupportICVFX
(
IDisplayClusterViewport* InViewport |
Returns true if this policy supports ICVFX rendering | |
| void | Tick
(
IDisplayClusterViewportManager* InViewportManager, |
Tick function The positions of editable preview components may be updated on each frame. | |
| TSharedPtr< IDisplayClusterWarpPolicy, ESPMode::ThreadSafe > | ToSharedPtr () |
Get TSharedPtr from self. | |
| TSharedPtr< const IDisplayClusterWarpPolicy, ESPMode::ThreadSafe > | ToSharedPtr () |