Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphEvaluatedConfig
Description
Gets a variable's value via a "value container". This container lets you fetch the variable's value in its native form, rather than being forced into a string (see GetVariableStringValueByName()). The variable's value is returned from the container via any of its GetValue*() methods, like GetValueFloat().
Returns true if a variable with the provided name exists, else false. If the variable does not exist, the value container will be initialized to an empty one, which defaults to containing a float with value 0. The evaluated graph does not store a reference to this value container, so if used outside of blueprints, be sure to keep a reference to it in order to prevent it from being garbage collected.
| Name | GetVariableValueByName |
| Type | function |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphConfig.h |
| Include Path | #include "Graph/MovieGraphConfig.h" |
| Source | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Private/Graph/MovieGraphConfig.cpp |
UFUNCTION (BlueprintCallable, Category="Movie Graph", Meta=(ReturnDisplayName="Variable Exists"))
bool GetVariableValueByName
(
const FString & InVariableName,
UMovieGraphValueContainer *& OutVariableValue
) const