Navigation
API > API/Plugins > API/Plugins/PixelCapture
Inheritance Hierarchy
- TSharedFromThis
- FPixelCaptureCapturerLayered
References
| Module | PixelCapture |
| Header | /Engine/Plugins/Media/PixelCapture/Source/PixelCapture/Public/PixelCaptureCapturerLayered.h |
| Include | #include "PixelCaptureCapturerLayered.h" |
Syntax
class FPixelCaptureCapturerLayered : public TSharedFromThis< FPixelCaptureCapturerLayered >
Remarks
A capturer that contains multiple layers of differently scaled capture processes. Feed it a IPixelCaptureCapturerSource that will create the appropriate base capturers. Input: User defined Output: Capturer defined
Variables
| Type | Name | Description | |
|---|---|---|---|
| IPixelCaptureCapturerSource * | CapturerSource | ||
| int32 | DestinationFormat | ||
| TArray< TSharedPtr< FPixelCaptureCapturer > > | LayerCapturers | ||
| TArray< float > | LayerScales | ||
| FCriticalSection | LayersGuard | ||
| FOnComplete | OnComplete | ||
| TAtomic< int > | PendingLayers |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPixelCaptureCapturerLayered
(
IPixelCaptureCapturerSource* InCapturerSource, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddLayer
(
float Scale |
||
| void | Capture
(
const IPixelCaptureInputFrame& SourceFrame |
Begins the capture process of a given frame. | |
| TSharedPtr< FPixelCaptureCapturerLayered > | Create
(
IPixelCaptureCapturerSource* InCapturerSource, |
Create a new Layered Capturer. | |
| void | |||
| TSharedPtr< IPixelCaptureOutputFrame > | ReadOutput
(
int32 LayerIndex |
Try to read the result of the capture process. May return null if no output has been captured yet. |
Typedefs
| Name | Description |
|---|---|
| FOnComplete | A callback to broadcast on when the frame has completed the capture process. |