Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore
This is the runtime representation of the UMoviePipelineEdGraph which contains the actual strongly typed graph network that is read by the MoviePipeline. There is an editor-only representation of this graph (UMoviePipelineEdGraph).
| Name | UMovieGraphConfig |
| Type | class |
| Header File | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphConfig.h |
| Include Path | #include "Graph/MovieGraphConfig.h" |
Syntax
UCLASS (BlueprintType)
class UMovieGraphConfig : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMovieGraphConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieGraphConfig() |
Graph/MovieGraphConfig.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FVisitNodesCallback | TBaseDelegate_TwoParams< bool, UMovieGraphNode *, const UMovieGraphPin * > | Callback for when a node is visited. | Graph/MovieGraphConfig.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnGraphChangedDelegate | FOnMovieGraphChanged | Graph/MovieGraphConfig.h | ||
| OnGraphInputAddedDelegate | FOnMovieGraphInputAdded | Graph/MovieGraphConfig.h | ||
| OnGraphNodesDeletedDelegate | FOnMovieGraphNodesDeleted | Graph/MovieGraphConfig.h | ||
| OnGraphOutputAddedDelegate | FOnMovieGraphOutputAdded | Graph/MovieGraphConfig.h | ||
| OnGraphVariablesChangedDelegate | FOnMovieGraphVariablesChanged | Graph/MovieGraphConfig.h | ||
| PipelineEdGraph | TObjectPtr< UEdGraph > | Not strongly typed to avoid a circular dependency between the editor only module and the runtime module, but it should be a UMoviePipelineEdGraph. | Graph/MovieGraphConfig.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditorOnlyNodes | TArray< TObjectPtr< UObject > > | Nodes which are only useful in the editor (like comments) and have no runtime equivalent | Graph/MovieGraphConfig.h | |
| GlobalVariables | TArray< TObjectPtr< UMovieGraphGlobalVariable > > | All global variables which are available for use in the graph. | Graph/MovieGraphConfig.h | |
| Inputs | TArray< TObjectPtr< UMovieGraphInput > > | All inputs which have been defined on the graph. | Graph/MovieGraphConfig.h | |
| Outputs | TArray< TObjectPtr< UMovieGraphOutput > > | All outputs which have been defined on the graph. | Graph/MovieGraphConfig.h | |
| Variables | TArray< TObjectPtr< UMovieGraphVariable > > | All user (not global) variables which are available for use in the graph. | Graph/MovieGraphConfig.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMovieGraphInput * AddInput
(
const FText& InBaseName |
Adds a new input member to the graph. | Graph/MovieGraphConfig.h |
|
bool AddLabeledEdge
(
UMovieGraphNode* FromNode, |
Add a connection in the graph between the given nodes and pin names. | Graph/MovieGraphConfig.h |
|
void AddNode
(
UMovieGraphNode* InNode |
Add the specified node instance to the graph. | Graph/MovieGraphConfig.h | |
UMovieGraphOutput * AddOutput
(
const FText& InBaseName |
Adds a new output member to the graph. | Graph/MovieGraphConfig.h |
|
UMovieGraphVariable * AddVariable
(
const FName InCustomBaseName |
Adds a new variable member with default values to the graph. | Graph/MovieGraphConfig.h |
|
T * ConstructRuntimeNode
(
TSubclassOf< UMovieGraphNode > PipelineGraphNodeClass |
Graph/MovieGraphConfig.h | ||
UMovieGraphEvaluatedConfig * CreateFlattenedGraph
(
const FMovieGraphTraversalContext& InContext, |
Given a user-defined evaluation context, evaluate the graph and build a "flattened" list of settings for each branch discovered. | Graph/MovieGraphConfig.h |
|
UMovieGraphNode * CreateNodeByClass
(
const TSubclassOf< UMovieGraphNode > InClass |
Creates the given node type in this graph. | Graph/MovieGraphConfig.h |
|
bool DeleteMember
(
UMovieGraphMember* MemberToDelete |
Remove the specified member (input, output, variable) from the graph. | Graph/MovieGraphConfig.h |
|
UMovieGraphVariable * DuplicateVariable
(
UMovieGraphVariable* InVariableToDuplicate |
Duplicates the provided variable. Returns the new variable on success, else nullptr. | Graph/MovieGraphConfig.h |
|
void GetAllContainedSubgraphs
(
TSet< UMovieGraphConfig* >& OutSubgraphs |
Get all subgraphs that this graph contains, recursively (ie, subgraphs of subgraphs are included, etc). | Graph/MovieGraphConfig.h |
|
| Returns an array of the branch names for the OutputNode on this Graph. | Graph/MovieGraphConfig.h |
|
|
TArray< FString > GetDownstreamBranchNames
(
UMovieGraphNode* FromNode, |
Determines the name(s) of the branches downstream from FromNode, starting at FromPin. | Graph/MovieGraphConfig.h |
|
const TArray< TObjectPtr< UObject > > & GetEditorOnlyNodes() |
Gets the editor-only nodes in this graph. Editor-only nodes do not have an equivalent runtime node. | Graph/MovieGraphConfig.h | |
UMovieGraphNode * GetInputNode() |
Gets the automatically generated "Inputs" node in the Graph. | Graph/MovieGraphConfig.h |
|
TArray< UMovieGraphInput * > GetInputs() |
Gets all inputs that have been defined on the graph. | Graph/MovieGraphConfig.h |
|
UMovieGraphNode * GetNodeForBranch
(
UClass* InClass, |
Finds a node (by type) for the given branch name (see GetBranchNames()). | Graph/MovieGraphConfig.h |
|
UMovieGraphNode * GetNodeForTag
(
const FString& ScriptTag, |
Finds a node by ScriptTag field. | Graph/MovieGraphConfig.h |
|
const TArray< TObjectPtr< UMovieGraphNode > > & GetNodes() |
Graph/MovieGraphConfig.h | ||
TArray< UMovieGraphNode * > GetNodesForBranch
(
UClass* InClass, |
Finds all nodes (by type) for the given branch name (see GetBranchNames()). | Graph/MovieGraphConfig.h |
|
TArray< UMovieGraphNode * > GetNodesForTag
(
const FString& ScriptTag, |
Finds nodes by ScriptTag field. | Graph/MovieGraphConfig.h |
|
void GetOutputDirectory
(
FString& OutOutputDirectory |
Walks the graph backward recursively from the output node searching for a UMovieGraphOutputSettings node. | Graph/MovieGraphConfig.h |
|
UMovieGraphNode * GetOutputNode() |
Gets the automatically generated "Outputs" node in the Graph. | Graph/MovieGraphConfig.h |
|
TArray< UMovieGraphOutput * > GetOutputs() |
Gets all outputs that have been defined on the graph. | Graph/MovieGraphConfig.h |
|
TArray< FString > GetUpstreamBranchNames
(
UMovieGraphNode* FromNode, |
Determines the name(s) of the branches upstream from FromNode, starting at FromPin. | Graph/MovieGraphConfig.h |
|
UMovieGraphVariable * GetVariableByGuid
(
const FGuid& InGuid |
Gets the variable in the graph with the specified GUID, else nullptr if one could not be found. | Graph/MovieGraphConfig.h |
|
UMovieGraphVariable * GetVariableByName
(
const FString& InVariableName |
Gets the variable in the graph with the specified name (including global variables), else nullptr if one could not be found. | Graph/MovieGraphConfig.h |
|
TArray< UMovieGraphVariable * > GetVariables
(
const bool bIncludeGlobal |
Gets all variables that are available to be used in the graph. | Graph/MovieGraphConfig.h |
|
void MoveCategoryBefore
(
const FString& InCategoryToMove, |
Moves one category (InCategoryToMove) and its variables before another category (InCategoryBefore). | Graph/MovieGraphConfig.h |
|
void MoveVariableBefore
(
UMovieGraphVariable* InTargetVariable, |
Moves one variable (InTargetVariable) before another variable (InBeforeVariable). | Graph/MovieGraphConfig.h |
|
void MoveVariableToIndex
(
UMovieGraphVariable* InTargetVariable, |
Moves one variable (InTargetVariable) to the specified index among all user graph variables. | Graph/MovieGraphConfig.h |
|
bool RemoveAllInboundEdges
(
UMovieGraphNode* InNode |
Convenience function which removes all Inbound (pins on the left side of a node) edges for the given node. | Graph/MovieGraphConfig.h |
|
bool RemoveAllOutboundEdges
(
UMovieGraphNode* InNode |
Convenience function which removes all Outbound (pins on the right side of a node) edges for the given node. | Graph/MovieGraphConfig.h |
|
bool RemoveInboundEdges
(
UMovieGraphNode* InNode, |
Convenience function which removes all Inbound (pins on the left side of a node) edges connected to the given inbound pin by name, for the given node. | Graph/MovieGraphConfig.h |
|
bool RemoveLabeledEdge
(
UMovieGraphNode* FromNode, |
Like AddLabeledEdge, removes the given connection between Node A and Node B (for the specified pins by name). | Graph/MovieGraphConfig.h |
|
bool RemoveNode
(
UMovieGraphNode* InNode |
Removes the specified node from the graph, disconnecting connected edges as it goes. | Graph/MovieGraphConfig.h |
|
bool RemoveNodes
(
TArray< UMovieGraphNode* > InNodes |
Like RemoveNode but takes an entire array at once for convenience. | Graph/MovieGraphConfig.h |
|
bool RemoveOutboundEdges
(
UMovieGraphNode* InNode, |
Convenience function which removes all Outbound (pins on the right side of a node) edges connected to the given outbound pin by name, for the given node. | Graph/MovieGraphConfig.h |
|
void SetEditorOnlyNodes
(
const TArray< TObjectPtr< const UObject > >& InNodes |
Sets the editor-only nodes in this graph. | Graph/MovieGraphConfig.h | |
void UpdateGlobalVariableValues
(
const UMovieGraphPipeline* InPipeline |
Updates the values of all global variables. | Graph/MovieGraphConfig.h |
|
void VisitDownstreamNodes
(
UMovieGraphNode* FromNode, |
Visits all nodes downstream from FromNode, running VisitCallback on each one. | Graph/MovieGraphConfig.h | |
void VisitUpstreamNodes
(
UMovieGraphNode* FromNode, |
Visits all nodes upstream from FromNode, running VisitCallback on each one. | Graph/MovieGraphConfig.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
Graph/MovieGraphConfig.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyOverriddenProperties
(
UMovieGraphNode* FromNode, |
Copies properties in FromNode that are marked for override into ToNode, but only if ToNode doesn't already override that value. | Graph/MovieGraphConfig.h | |
bool CreateFlattenedGraph_Recursive
(
UMovieGraphEvaluatedConfig* InOwningConfig, |
Traverse the graph, generating a combined "flatten" graph as it goes. | Graph/MovieGraphConfig.h | |
void InitializeFlattenedNode
(
UMovieGraphNode* InNode |
Find all "Overrideable" marked properties, then find their edit condition properties, then set those to false. | Graph/MovieGraphConfig.h | |
void RecurseUpGlobalsBranchToFindOutputDirectory
(
const UMovieGraphNode* InNode, |
Look for the output directory in the UMovieGraphOutputSettings nodes found upstream of InNode. | Graph/MovieGraphConfig.h | |
void VisitDownstreamNodes_Recursive
(
UMovieGraphNode* FromNode, |
Recursive helper for VisitDownstreamNodes(). | Graph/MovieGraphConfig.h | |
void VisitUpstreamNodes_Recursive
(
UMovieGraphNode* FromNode, |
Recursive helper for VisitUpstreamNodes(). | Graph/MovieGraphConfig.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBoolProperty * FindOverridePropertyForRealProperty
(
UClass* InClass, |
Given a class and FProperty that belongs to that class, search for a FBoolProperty that matches the name "bOverride_ |
Graph/MovieGraphConfig.h |