Navigation
API > API/Plugins > API/Plugins/PCG
Perform a 2D orthographic scene capture and write the result to a render target data. Can be costly, use with caution with runtime generation.
| Name | UPCGSceneCaptureSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSceneCapture.h |
| Include Path | #include "Elements/PCGSceneCapture.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSceneCaptureSettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGSceneCaptureSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSkipReadbackToCPU | bool | Skip CPU readback during initialization of the render target data. | Elements/PCGSceneCapture.h |
|
| CaptureSource | TEnumAsByte< enum ESceneCaptureSource > | Specifies which component of the scene rendering should be output to the render target. | Elements/PCGSceneCapture.h |
|
| PixelFormat | TEnumAsByte< enum ETextureRenderTargetFormat > | Subset of EPixelFormat exposed to UTextureRenderTarget2D. | Elements/PCGSceneCapture.h |
|
| TexelSize | float | Size of a texel in the render target in world units (cm). | Elements/PCGSceneCapture.h |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FName GetDefaultNodeName() |
Elements/PCGSceneCapture.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGSceneCapture.h | ||
virtual FText GetNodeTooltipText() |
Elements/PCGSceneCapture.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGSceneCapture.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGSceneCapture.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGSceneCapture.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGSceneCapture.h |