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 |
|---|---|---|---|---|
| bCaptureFromTopOfExtents | bool | Scene capture position will be translated such that the capture is taken from the top of the capture extents rather than from the center. | Elements/PCGSceneCapture.h |
|
| bExcludePCGContent | bool | Exclude content created from PCG. | Elements/PCGSceneCapture.h |
|
| bOnlyCaptureContentMatchingIncludedTags | bool | Only capture actors and primitive components that have tags listed in Included Tags. | Elements/PCGSceneCapture.h |
|
| bSkipReadbackToCPU | bool | Deprecated section | Elements/PCGSceneCapture.h |
|
| CaptureHalfExtents | FVector | Used to determine the orthographic width of the scene capture. | Elements/PCGSceneCapture.h |
|
| CaptureLocation | FVector | Positions the scene capture. | Elements/PCGSceneCapture.h |
|
| CaptureRotation | FQuat | Rotates the scene capture. | Elements/PCGSceneCapture.h |
|
| CaptureSource | TEnumAsByte< enum ESceneCaptureSource > | Specifies which component of the scene rendering should be output to the render target. | Elements/PCGSceneCapture.h |
|
| ExcludedTags | TArray< FName > | Tags to match against actors/components when selecting for exclusion from the scene capture. | Elements/PCGSceneCapture.h |
|
| Filter | EPCGTextureFilter | Method used to determine the value for a sample based on the value of nearby texels. | Elements/PCGSceneCapture.h |
|
| IncludedTags | TArray< FName > | Tags to match against actors/components when selecting for inclusion in the scene capture. | Elements/PCGSceneCapture.h |
|
| OrientationMode | EPCGSceneCaptureOrientationMode | Defines how the scene capture bounds and transform are computed. | 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 |
|