Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphBlueprintLibrary
Description
Returns the current play world (PIE or Game). Useful when a Blueprint does not have a world context object, such as in MovieGraphScriptBase callbacks. Returns nullptr if no play world is active.
| Name | GetCurrentPlayWorld |
| 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 (BlueprintPure, Category="Movie Graph", Meta=(DisplayName="Get Current Play World"))
static UWorld * GetCurrentPlayWorld()