Navigation
API > API/Plugins > API/Plugins/MovieRenderPipelineCore > API/Plugins/MovieRenderPipelineCore/Graph
Inheritance Hierarchy
- UObject
- UMovieGraphConfig
References
| Module | MovieRenderPipelineCore |
| Header | /Engine/Plugins/MovieScene/MovieRenderPipeline/Source/MovieRenderPipelineCore/Public/Graph/MovieGraphConfig.h |
| Include | #include "Graph/MovieGraphConfig.h" |
Syntax
UCLASS ()
class UMovieGraphConfig : public UObject
Remarks
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).
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< TObjectPtr< UMovieGraphNode > > | AllNodes | ||
| TObjectPtr< UMovieGraphNode > | InputNode | ||
| FOnMovieGraphChanged | OnGraphChangedDelegate | ||
| FOnMovieGraphInputAdded | OnGraphInputAddedDelegate | ||
| FOnMovieGraphNodesDeleted | OnGraphNodesDeletedDelegate | ||
| FOnMovieGraphOutputAdded | OnGraphOutputAddedDelegate | ||
| FOnMovieGraphVariablesChanged | OnGraphVariablesChangedDelegate | ||
| TObjectPtr< UMovieGraphNode > | OutputNode | ||
| TObjectPtr< UEdGraph > | PipelineEdGraph | Not strongly typed to avoid a circular dependency between the editor only module and the runtime module, but it should be a UMoviePipelineEdGraph. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| UMovieGraphInput * | AddInput
(
const FText& InBaseName |
Adds a new input member to the graph. | |
| bool | AddLabeledEdge
(
UMovieGraphNode* FromNode, |
Add a connection in the graph between the given nodes and pin names. | |
| void | AddNode
(
UMovieGraphNode* InNode |
Add the specified node instance to the graph. | |
| UMovieGraphOutput * | AddOutput
(
const FText& InBaseName |
Adds a new output member to the graph. | |
| UMovieGraphVariable * | AddVariable
(
const FName InCustomBaseName |
Adds a new variable member with default values to the graph. | |
| T * | ConstructRuntimeNode
(
TSubclassOf< UMovieGraphNode > PipelineGraphNodeClass |
||
| 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. | |
| 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. | |
| bool | CreateFlattenedGraph_Recursive
(
UMovieGraphEvaluatedConfig* InOwningConfig, |
Traverse the graph, generating a combined "flatten" graph as it goes. | |
| UMovieGraphNode * | CreateNodeByClass
(
const TSubclassOf< UMovieGraphNode > InClass |
Creates the given node type in this graph. | |
| bool | DeleteMember
(
UMovieGraphMember* MemberToDelete |
Remove the specified member (input, output, variable) from the graph. | |
| UMovieGraphVariable * | DuplicateVariable
(
UMovieGraphVariable* InVariableToDuplicate |
Duplicates the provided variable. Returns the new variable on success, else nullptr. | |
| FBoolProperty * | FindOverridePropertyForRealProperty
(
UClass* InClass, |
Given a class and FProperty that belongs to that class, search for a FBoolProperty that matches the name "bOverride_ |
|
| void | GetAllContainedSubgraphs
(
TSet< UMovieGraphConfig* >& OutSubgraphs |
Get all subgraphs that this graph contains, recursively (ie, subgraphs of subgraphs are included, etc). | |
| TArray< FString > | GetDownstreamBranchNames
(
UMovieGraphNode* FromNode, |
Determines the name(s) of the branches downstream from FromNode, starting at FromPin. | |
| const TArray< TObjectPtr< UObject > > & | Gets the editor-only nodes in this graph. Editor-only nodes do not have an equivalent runtime node. | ||
| UMovieGraphNode * | GetInputNode () |
Gets the automatically generated "Inputs" node in the Graph. | |
| TArray< UMovieGraphInput * > | GetInputs () |
Gets all inputs that have been defined on the graph. | |
| const TArray< TObjectPtr< UMovieGraphNode > > & | GetNodes () |
||
| void | GetOutputDirectory
(
FString& OutOutputDirectory |
Walks the graph backward recursively from the output node searching for a UMovieGraphOutputSettings node. | |
| UMovieGraphNode * | Gets the automatically generated "Outputs" node in the Graph. | ||
| TArray< UMovieGraphOutput * > | GetOutputs () |
Gets all outputs that have been defined on the graph. | |
| TArray< FString > | GetUpstreamBranchNames
(
UMovieGraphNode* FromNode, |
Determines the name(s) of the branches upstream from FromNode, starting at FromPin. | |
| UMovieGraphVariable * | GetVariableByGuid
(
const FGuid& InGuid |
Gets the variable in the graph with the specified GUID, else nullptr if one could not be found. | |
| TArray< UMovieGraphVariable * > | GetVariables
(
const bool bIncludeGlobal |
Gets all variables that are available to be used in the graph. | |
| void | InitializeFlattenedNode
(
UMovieGraphNode* InNode |
Find all "Overrideable" marked properties, then find their edit condition properties, then set those to false. | |
| void | MoveCategoryBefore
(
const FString& InCategoryToMove, |
Moves one category (InCategoryToMove) and its variables before another category (InCategoryBefore). | |
| void | MoveVariableBefore
(
UMovieGraphVariable* InTargetVariable, |
Moves one variable (InTargetVariable) before another variable (InBeforeVariable). | |
| void | MoveVariableToIndex
(
UMovieGraphVariable* InTargetVariable, |
Moves one variable (InTargetVariable) to the specified index among all user graph variables. | |
| void | PostLoad () |
||
| void | RecurseUpGlobalsBranchToFindOutputDirectory
(
const UMovieGraphNode* InNode, |
Look for the output directory in the UMovieGraphOutputSettings nodes found upstream of InNode. | |
| bool | RemoveAllInboundEdges
(
UMovieGraphNode* InNode |
Convinence function which removes all Inbound (pins on the left side of a node) edges for the given node. | |
| bool | RemoveAllOutboundEdges
(
UMovieGraphNode* InNode |
Convinence function which removes all Outbound (pins on the right side of a node) edges for the given node. | |
| bool | RemoveInboundEdges
(
UMovieGraphNode* InNode, |
Convinence 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. | |
| bool | RemoveLabeledEdge
(
UMovieGraphNode* FromNode, |
Like AddLabeledEdge, removes the given connection between Node A and Node B (for the specified pins by name). | |
| bool | RemoveNode
(
UMovieGraphNode* InNode |
Removes the specified node from the graph, disconnecting connected edges as it goes. | |
| bool | RemoveNodes
(
TArray< UMovieGraphNode* > InNodes |
Like RemoveNode but takes an entire array at once for convinence. | |
| bool | RemoveOutboundEdges
(
UMovieGraphNode* InNode, |
Convinence function which removes all Outobund (pins on the right side of a node) edges connected to the given outbound pin by name, for the given node. | |
| void | SetEditorOnlyNodes
(
const TArray< TObjectPtr< const UObject > >& InNodes |
Sets the editor-only nodes in this graph. | |
| void | UpdateGlobalVariableValues
(
const UMovieGraphPipeline* InPipeline |
Updates the values of all global variables. | |
| void | VisitDownstreamNodes
(
UMovieGraphNode* FromNode, |
Visits all nodes downstream from FromNode, running VisitCallback on each one. | |
| void | VisitDownstreamNodes_Recursive
(
UMovieGraphNode* FromNode, |
Recursive helper for VisitDownstreamNodes(). | |
| void | VisitUpstreamNodes
(
UMovieGraphNode* FromNode, |
Visits all nodes upstream from FromNode, running VisitCallback on each one. | |
| void | VisitUpstreamNodes_Recursive
(
UMovieGraphNode* FromNode, |
Recursive helper for VisitUpstreamNodes(). |
Typedefs
| Name | Description |
|---|---|
| FVisitNodesCallback | Callback for when a node is visited. |