UComposureCompositingTargetComponent

Component intended to replace [UComposurePlayerCompositingTarget](API\Plugins\Composure\UComposurePlayerCompositingTarge-) - a object to bind to a [APlayerCameraManager](API\Runtime\Engine\Camera\APlayerCameraManager) with a [UTextureRenderTarget2D](API\Runtime\Engine\Engine\UTextureRenderTarget2D) to be used as a player's render target.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UActorComponent

UComposureCompositingTargetComponent

References

Module

Composure

Header

/Engine/Plugins/Compositing/Composure/Source/Composure/Classes/ComposurePlayerCompositingTarget.h

Include

#include "ComposurePlayerCompositingTarget.h"

Syntax

UCLASS(ClassGroup=Rendering, Blueprintable, BlueprintType, Meta=(BlueprintSpawnableComponent))
class UComposureCompositingTargetComponent :
    public UActorComponent,
    public ICompEditorImagePreviewInterface

Remarks

Component intended to replace UComposurePlayerCompositingTarget - a object to bind to a APlayerCameraManager with a UTextureRenderTarget2D to be used as a player's render target. Made into a component so we can hook into preview rendering in editor.

Constructors

Name Description

Public function

UComposureCompositingTargetComponent

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const UFunction BlueprintCallable, Category

UTexture ...

 

GetDisplayTexture()

Public function Const

bool

 

IsPreviewing()

Public function UFunction BlueprintCallable, Category

void

 

SetDisplayTexture

(
    UTexture* DisplayTexture
)

Public function

void

 

SetUseImplicitGammaForPreview

(
    const bool bInUseImplicitGammaOnPre...
)

Overridden from UActorComponent

Name Description

Public function Virtual

TSharedPtr< ...

 

GetCustomEditorPreviewWidget()

If this component is set up to provide a preview window in editor (see GetEditorPreviewInfo), you can use this to customize the preview (to be something other than a world viewport).

Public function Virtual

bool

 

GetEditorPreviewInfo

(
    float DeltaTime,
    FMinimalViewInfo& ViewOut
)

Supplies the editor with a view specific to this component (think a view from a camera components POV, a render, etc.).

Overridden from ICompEditorImagePreviewInterface