Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphBlueprintLibrary
Description
Gets a rectangle that will crop out any overscan applied to the scene. If there is no overscan, the rectangle returned will match the backbuffer rectangle
| Name | GetOverscanCropRectangle |
| Type | function |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphBlueprintLibrary.h |
| Include Path | #include "Graph/MovieGraphBlueprintLibrary.h" |
| Source | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Private/Graph/MovieGraphBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Movie Graph")
static FIntRect GetOverscanCropRectangle
(
UMovieGraphEvaluatedConfig * InEvaluatedGraph,
float DefaultOverscan,
float CameraAspectRatio
)
- The crop rectangle, which will have a resolution matching the requested output resolution
Parameters
| Name | Remarks |
|---|---|
| InEvaluatedGraph | The evaluated graph that will provide context for resolving the resolution |
| DefaultOverscan | The default overscan to use if there are no camera settings that provide an overscan override value, from 0.0 to 1.0 |
| CameraAspectRatio | The aspect ratio for the camera. Set to zero if you want to adapt to the output resolution's aspect ratio (otherwise resolution may be adapted to fit aspect ratio based on config settings). |