Navigation
API > API/Plugins > API/Plugins/Composure
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- AComposurePipelineBaseActor
- ACompositingElement
- ACompositingCaptureBase
References
| Module | Composure |
| Header | /Engine/Plugins/Compositing/Composure/Source/Composure/Classes/CompositingCaptureBase.h |
| Include | #include "CompositingCaptureBase.h" |
Syntax
UCLASS&40;BlueprintType&41;
class ACompositingCaptureBase : public ACompositingElement
Remarks
Base class for CG Compositing Elements
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyDistortion | Whether to apply distortion as a post-process effect on this CG Layer | |
| TObjectPtr< UMaterialInstanceDynamic > | LastDistortionMID | Cached distortion MID produced by the Lens Distortion Handler, used to clean up the post-process materials in the case that the the MID changes | |
| FComponentReference | LensComponentPicker | A component reference (customized) that allows the user to specify a component that this controller should control | |
| float | OriginalFocalLength | Focal length of the target camera before any overscan has been applied | |
| float | OverscanFactor | Value used to augment the FOV of the scene capture to produce a CG image with enough data to distort | |
| TObjectPtr< USceneCaptureComponent2D > | SceneCaptureComponent2D | Component used to generate the scene capture for this CG Layer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Default constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetApplyDistortion
(
bool bInApplyDistortion |
Sets whether distortion should be applied or not | |
| void | SetLens
(
ULensComponent* InLens |
Set the Lens Component this CG layer will use to drive distortion on the scene capture | |
| void | Update the state of the Lens Distortion Data Handler, and updates or removes the Distortion MID from the SceneCaptureComponent's post process materials, depending on whether distortion should be applied |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |