Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Base update transform that replaces a node with another node of the given target node class key, maintaining connections and data if possible. Inherit from this to make a custom node update transform.
| Name | FBaseNodeUpdateTransform |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendNodeUpdateTransform.h |
| Include Path | #include "MetasoundFrontendNodeUpdateTransform.h" |
Syntax
class FBaseNodeUpdateTransform : public Metasound::Frontend::INodeUpdateTransform
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBaseNodeUpdateTransform
(
const FNodeClassRegistryKey& InNewNodeClassKey |
MetasoundFrontendNodeUpdateTransform.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NewNodeClassKey | FNodeClassRegistryKey | MetasoundFrontendNodeUpdateTransform.h |
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNodeUpdateTransformData CreateNodeUpdateTransformData
(
const FMetaSoundFrontendDocumentBuilder& InOutBuilder, |
Data (ex. connections, defaults, node configuration) to be reapplied to the new node after it has been updated This represents the data we want applied to the new node (ex. new node configuration), which is not necessarily just what we currently have (though in simplest case those are the same) | MetasoundFrontendNodeUpdateTransform.h |
Overridden from INodeUpdateTransform
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNodeClassRegistryKey GetNewNodeClassKey() |
The node class registry key of the new node that the old node will be transformed into Node update transforms are many to 1 or 1 to 1 node replacements | MetasoundFrontendNodeUpdateTransform.h | |
virtual bool ShouldAutoApply() |
Whether the transform should be automatically applied to node class keys registered with this transform during autoupdate. | MetasoundFrontendNodeUpdateTransform.h | |
virtual void Update
(
FMetaSoundFrontendDocumentBuilder& InOutBuilder, |
Perform the internal node replacement update on a given node Not exposed directly to users, see subclasses for the data that users can customize | MetasoundFrontendNodeUpdateTransform.h |