Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UDisplayClusterPreviewComponent
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Components/DisplayClusterPreviewComponent.h |
| Include | #include "Components/DisplayClusterPreviewComponent.h" |
Syntax
UCLASS&40;ClassGroup&61;&40;DisplayCluster&41;&41;
class UDisplayClusterPreviewComponent : public UActorComponent
Remarks
NDisplay Viewport preview component (Editor)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UTextureRenderTarget2D > | RenderTarget | Texture for preview material. | |
| TObjectPtr< UTextureRenderTarget2D > | RenderTargetPostProcess | Texture when DCRA has post process disabled but is requesting a post process render target. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDisplayClusterPreviewComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | |||
| IDisplayClusterViewport * | |||
| UTexture * | |||
| UMeshComponent * | |||
| bool | GetPreviewTextureSettings
(
FIntPoint& OutSize, |
||
| UTextureRenderTarget2D * | |||
| UTextureRenderTarget2D * | |||
| UDisplayClusterConfigurationViewport * | |||
| const FString & | |||
| UTexture * | Create and retrieve a render texture 2d from the render target. | ||
| bool | InitializePreviewComponent
(
ADisplayClusterRootActor* RootActor, |
||
| void | |||
| bool | Gets whether the preview render or override texture should be output to the screen meshes | ||
| bool | Gets whether the root actor is requesting a preview render | ||
| void | |||
| void | |||
| void | |||
| void | ResetPreviewComponent
(
bool bInRestoreSceneMaterial |
||
| void | |||
| void | SetOverrideTexture
(
UTexture* InOverrideTexture |
Sets an override texture to display on the viewport instead of the render target | |
| void | |||
| void | |||
| bool | |||
| void | |||
| void | |||
| void |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyComponent
(
bool bPromoteChildren |
Unregister the component, remove it from its outer Actor's Components array and mark for pending kill. | |
| void | Called when a component is created (not loaded). This can happen in the editor or during gameplay |