UComposureBlueprintLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Composure

Header

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

Include

#include "ComposureBlueprintLibrary.h"

Syntax

UCLASS(Meta=(ScriptName="ComposureLibrary"))
class UComposureBlueprintLibrary : public UBlueprintFunctionLibrary

Constructors

Name Description

Public function

UComposureBlueprintLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

bool

 

AttachComposureElement

(
    const FName ParentName,
    const FName ChildName
)

Attach one composure element as the child to another composure element in the scene.

Public function Static UFunction BlueprintCallable, Category

void

 

CopyCameraSettingsToSceneCapture

(
    UCameraComponent* SrcCamera,
    USceneCaptureComponent2D* DstC...,
    float OriginalFocalLength,
    float OverscanFactor
)

Public function Static UFunction BlueprintCallable, Category, Meta

ACompositing...

 

CreateComposureElement

(
    const FName ElementName,
    TSubclassOf< ACompositingElement > ...,
    AActor* LevelContext
)

Create a new Composure in the level without any parenting relationship.

Public function Static UFunction BlueprintCallable, Category, Meta

UComposurePl...

 

CreatePlayerCompositingTarget

(
    UObject* WorldContextObject
)

Creates a Player Compositing Target which you can modify during gameplay.

Public function Static UFunction BlueprintCallable, Category

void

 

DeleteComposureElementAndChildren

(
    const FName ElementToDelete
)

Delete a specific composure element without evoking prompt window.

Public function Static UFunction BlueprintPure, Category

ACompositing...

 

GetComposureElement

(
    const FName ElementName
)

Get a specific composure element

Public function Static UFunction BlueprintPure, Category

void

 

GetCroppingUVTransformationMatrixFromPostMoveSettings

(
    const FComposurePostMoveSettings& ...,
    float AspectRatio,
    FMatrix& CropingUVTransformationMa...,
    FMatrix& UncropingUVTransformation...
)

Returns UV transformation matrix and its inversed to crop.

Public function Static UFunction BlueprintPure, Category

void

 

GetPlayerDisplayGamma

(
    const APlayerCameraManager* Pl...,
    float& DisplayGamma
)

Returns display gamma of a given player camera manager, or 0 if no scene viewport attached.

Public function Static UFunction BlueprintPure, Category

void

 

GetProjectionMatrixFromPostMoveSettings

(
    const FComposurePostMoveSettings& ...,
    float HorizontalFOVAngle,
    float AspectRatio,
    FMatrix& ProjectionMatrix
)

Returns a non-centered projection matrix.

Public function Static UFunction BlueprintPure, Category

void

 

GetRedGreenUVFactorsFromChromaticAberration

(
    float ChromaticAberrationAmount,
    FVector2D& RedGreenUVFactors
)

Returns the red and green channel factors from percentage of chromatic aberration.

Public function Static UFunction BlueprintPure, Category

void

 

InvertUVDisplacementMapEncodingParameters

(
    const FVector2D& In,
    FVector2D& Out
)

Converts displacement encoding parameters to decoding parameters.

Public function Static UFunction BlueprintPure, Category

bool

 

IsComposureElementDrawing

(
    ACompositingElement* CompEleme...
)

Determines if the specified element is being rendered by the hidden compositing viewport.

Public function Static UFunction BlueprintCallable, Category

void

 

RefreshComposureElementList()

Re-queries the scene for element actors and rebuilds the authoritative list used by the editor.

Public function Static UFunction BlueprintCallable, Category

bool

 

RenameComposureElement

(
    const FName OriginalElementName,
    const FName NewElementName
)

Rename a specific composure element

Public function Static UFunction BlueprintCallable, Category

void

 

RequestRedrawComposureViewport()

Request redrawing the compositing editor viewport if it is valid.

Public function Static UFunction BlueprintCallable, Category

void

 

SetUVMapSettingsToMaterialParameters

(
    const FComposureUVMapSettings& UVM...,
    UMaterialInstanceDynamic* Mate...
)

Sets parameters of a material that uses Composure's MF_UVMap_SampleLocation material function.