Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/UMovieGraphConfig
Description
Finds all nodes (by type) for the given branch name (see GetBranchNames()). Returns all results of that type following traversal order (ie: right to left). To prevent accidentally editing unrelated assets, does not dive into sub-graphs (but can continue traversal beyond them), so returned results should only exist in current asset. Does not contain the Input or Output nodes, see GetInputNode() and GetOutputNode().
| Name | GetNodesForBranch |
| 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, Meta=(DeterminesOutputType="InClass"), Category="Movie Graph")
TArray < UMovieGraphNode * > GetNodesForBranch
(
UClass * InClass,
const FName & InBranchName,
bool bExactMatch
) const
All nodes found (if any) which are of the specified InClass type on the given branch.
Parameters
| Name | Remarks |
|---|---|
| InClass | The node class type to search for. Use UMovieGraphSettingNode to only include nodes that show up in the final evaluated graph (excludes nodes like the Branch node). |
| InBranchName | The branch to search for these nodes on. |
| bExactMatch | Defaults false. If true, will not consider inherited classes of InClass. (ie: If requesting a base class and only child classes exist, they will not count when using exact matching). |