Navigation
API > API/Plugins > API/Plugins/Composure
Object to bind to a APlayerCameraManager with a UTextureRenderTarget2D to be used as a player's render target. @TODO-BADGER: deprecate this (UComposurePlayerCompositingTarget) once we're comfortable using the new UComposureCompositingTargetComponent in its place
| Name | UComposurePlayerCompositingTarget |
| Type | class |
| Header File | /Engine/Plugins/Compositing/Composure/Source/Composure/Classes/ComposurePlayerCompositingTarget.h |
| Include Path | #include "ComposurePlayerCompositingTarget.h" |
Syntax
UCLASS (BlueprintType)
class UComposurePlayerCompositingTarget :
public UObject ,
public IComposurePlayerCompositingInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UComposurePlayerCompositingTarget
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UComposurePlayerCompositingTarget
(
const FObjectInitializer& ObjectInitializer |
ComposurePlayerCompositingTarget.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UComposurePlayerCompositingTarget() |
ComposurePlayerCompositingTarget.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EngineShowFlagsBackup | FEngineShowFlags | Backup of the engine showflags to restore when unbinding the compositing target from the camera manager. | ComposurePlayerCompositingTarget.h | |
| PlayerCameraManager | TObjectPtr< APlayerCameraManager > | Current player camera manager the target is bind on. | ComposurePlayerCompositingTarget.h |
|
| PlayerCameraModifier | TObjectPtr< class UComposurePlayerCompositingCameraModifier > | Underlying player camera modifier. | ComposurePlayerCompositingTarget.h |
|
| ReplaceTonemapperMID | TObjectPtr< class UMaterialInstanceDynamic > | Post process material that replaces the tonemapper to dump the player's render target. | ComposurePlayerCompositingTarget.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
APlayerCameraManager * GetPlayerCameraManager() |
Current player camera manager the target is bind on. | ComposurePlayerCompositingTarget.h |
|
APlayerCameraManager * SetPlayerCameraManager
(
APlayerCameraManager* PlayerCameraManager |
Set player camera manager to bind the render target to. | ComposurePlayerCompositingTarget.h |
|
void SetRenderTarget
(
UTextureRenderTarget2D* RenderTarget |
Set the render target of the player. | ComposurePlayerCompositingTarget.h |
|
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FinishDestroy() |
Begins UObject. | ComposurePlayerCompositingTarget.h |