Navigation
API > API/Plugins > API/Plugins/Composure
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.
| Name | UComposureCompositingTargetComponent |
| Type | class |
| Header File | /Engine/Plugins/Compositing/Composure/Source/Composure/Classes/ComposurePlayerCompositingTarget.h |
| Include Path | #include "ComposurePlayerCompositingTarget.h" |
Syntax
UCLASS (ClassGroup=Rendering, Blueprintable, BlueprintType, Meta=(BlueprintSpawnableComponent))
class UComposureCompositingTargetComponent :
public UActorComponent ,
public ICompEditorImagePreviewInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UComposureCompositingTargetComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UComposureCompositingTargetComponent
(
const FObjectInitializer& ObjectInitializer |
ComposurePlayerCompositingTarget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasCompilerError | bool | ComposurePlayerCompositingTarget.h | ||
| bUseImplicitGammaOnPreview | bool | ComposurePlayerCompositingTarget.h | ||
| CompilerErrImage | TObjectPtr< UTexture > | ComposurePlayerCompositingTarget.h |
|
|
| DisplayTexture | TObjectPtr< UTexture > | ComposurePlayerCompositingTarget.h |
|
|
| PreviewCount | int32 | ComposurePlayerCompositingTarget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UTexture * GetDisplayTexture() |
ComposurePlayerCompositingTarget.h |
|
|
bool IsPreviewing() |
ComposurePlayerCompositingTarget.h | ||
void SetDisplayTexture
(
UTexture* DisplayTexture |
ComposurePlayerCompositingTarget.h |
|
|
void SetUseImplicitGammaForPreview
(
const bool bInUseImplicitGammaOnPreview |
ComposurePlayerCompositingTarget.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > GetCustomEditorPreviewWidget() |
ComposurePlayerCompositingTarget.h | ||
virtual bool GetEditorPreviewInfo
(
float DeltaTime, |
ComposurePlayerCompositingTarget.h |
Overridden from ICompEditorImagePreviewInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UTexture * GetEditorPreviewImage() |
ComposurePlayerCompositingTarget.h | ||
virtual void OnBeginPreview() |
ComposurePlayerCompositingTarget.h | ||
virtual void OnEndPreview() |
ComposurePlayerCompositingTarget.h | ||
virtual bool UseImplicitGammaForPreview() |
ComposurePlayerCompositingTarget.h |