Navigation
API > API/Plugins > API/Plugins/MetasoundEditor
The subsystem in charge of editor MetaSound functionality
| Name | UMetaSoundEditorSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundEditorSubsystem.h |
| Include Path | #include "MetasoundEditorSubsystem.h" |
Syntax
UCLASS (Meta=(DisplayName="MetaSound Editor Subsystem"))
class UMetaSoundEditorSubsystem : public UEditorSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UEditorSubsystem → UMetaSoundEditorSubsystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EditorToolbarExtenders | TArray< TSharedRef< FExtender > > | Editor Toolbar Extenders. | MetasoundEditorSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMetaSoundEditorBuilderListener * AddBuilderDelegateListener
(
UMetaSoundBuilderBase* InBuilder, |
Add a builder listener for a builder which is used to add and remove custom editor builder delegates. | MetasoundEditorSubsystem.h |
|
bool BindMemberMetadata
(
FMetaSoundFrontendDocumentBuilder& Builder, |
Binds literal editor Metadata to the given member. | MetasoundEditorSubsystem.h | |
TScriptInterface< IMetaSoundDocumentInterface > BuildToAsset
(
UMetaSoundBuilderBase* InBuilder, |
Build the given builder to a MetaSound asset | MetasoundEditorSubsystem.h |
|
UMetasoundEditorGraphMemberDefaultLiteral * CreateMemberMetadata
(
FMetaSoundFrontendDocumentBuilder& Builder, |
Creates new member metadata for a member of a given builder, copying data from the referenced asset in the case of preset inherited inputs. | MetasoundEditorSubsystem.h | |
UMetaSoundBuilderBase * FindOrBeginBuilding
(
TScriptInterface< IMetaSoundDocumentInterface > MetaSound, |
Returns a builder for the given MetaSound asset. | MetasoundEditorSubsystem.h |
|
UMetaSoundFrontendMemberMetadata * FindOrCreateGraphInputMetadata
(
UMetaSoundBuilderBase* InBuilder, |
Find graph input metadata (which includes editor only range information for floats) for a given input. If the metadata does not exist, create it. | MetasoundEditorSubsystem.h |
|
const FString GetDefaultAuthor() |
Get the default author for a MetaSound asset. | MetasoundEditorSubsystem.h | |
TSubclassOf< UMetasoundEditorGraphMemberDefaultLiteral > GetLiteralClassForType
(
FName TypeName |
Returns the corresponding literal class for a given type. | MetasoundEditorSubsystem.h | |
const TArray< TSharedRef< FExtender > > & GetToolbarExtenders() |
Returns all currently toolbar extenders registered to be displayed within the MetaSound Asset Editor. | MetasoundEditorSubsystem.h | |
| Initialize the UObject asset with an optional MetaSound to be referenced if the asset is a preset and optionally clearing the existing MetaSound document (for the case of duplicated assets) | MetasoundEditorSubsystem.h | ||
void InitEdGraph
(
UObject& InMetaSound |
MetasoundEditorSubsystem.h | ||
bool IsPageAuditionPlatformCookTarget
(
FName InPageName |
Returns whether or not a page with the given name both exists and is set as a valid, cooked target for the currently set audition platform in editor. | MetasoundEditorSubsystem.h | |
bool IsPageAuditionPlatformCookTarget
(
const FGuid& InPageID |
MetasoundEditorSubsystem.h | ||
void RegisterGraphWithFrontend
(
UObject& InMetaSound, |
Wraps RegisterGraphWithFrontend logic in Frontend with any additional logic required to refresh editor & respective editor object state. | MetasoundEditorSubsystem.h | |
void RegisterToolbarExtender
(
TSharedRef< FExtender > InExtender |
Register toolbar extender that will be displayed in the MetaSound Asset Editor. | MetasoundEditorSubsystem.h | |
void SetFocusedPage
(
UMetaSoundBuilderBase* Builder, |
If the given page name is implemented on the provided builder, sets the focused page of the provided builder to the associated page and sets the audition page to the provided name. | MetasoundEditorSubsystem.h |
|
bool SetFocusedPage
(
UMetaSoundBuilderBase& Builder, |
If the given PageID is implemented on the provided builder, sets the focused page of the provided builder to the associated page and sets the audition target page to the provided ID. | MetasoundEditorSubsystem.h | |
void SetNodeLocation
(
UMetaSoundBuilderBase* InBuilder, |
Sets the visual location to InLocation of a given node InNode of a given builder's document. | MetasoundEditorSubsystem.h |
|
bool UnregisterToolbarExtender
(
TSharedRef< FExtender > InExtender |
Unregisters toolbar extender that is displayed in the MetaSound Asset Editor. | MetasoundEditorSubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UMetaSoundEditorSubsystem & GetChecked() |
MetasoundEditorSubsystem.h | ||
static const UMetaSoundEditorSubsystem & GetConstChecked() |
MetasoundEditorSubsystem.h |