Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/FDocumentBuilderRegistry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FMetaSoundFrontendDocumentBuilder & FindOrBeginBuilding
(
TScriptInterface< IMetaSoundDocumentInterface > MetaSound |
Frontend::IDocumentBuilderRegistry Implementation. | MetasoundDocumentBuilderRegistry.h | |
BuilderClass & FindOrBeginBuilding
(
UObject& InMetaSoundObject, |
Find or begin building a MetaSound asset. | MetasoundDocumentBuilderRegistry.h |
FindOrBeginBuilding(TScriptInterface< IMetaSoundDocumentInterface >)
Description
Given the provided builder, removes paged data within the associated document for a cooked build. This function removes graphs and input defaults which are not to ever be used by a given cook platform, allowing users to optimize away data and scale the amount of memory required for initial load of input UObjects and graph topology, which can also positively effect runtime performance as well, etc. Returns true if builder modified the document, false if not.
| Name | FindOrBeginBuilding |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundDocumentBuilderRegistry.h |
| Include Path | #include "MetasoundDocumentBuilderRegistry.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundDocumentBuilderRegistry.cpp |
virtual FMetaSoundFrontendDocumentBuilder & FindOrBeginBuilding
(
TScriptInterface < IMetaSoundDocumentInterface > MetaSound
)
FindOrBeginBuilding(UObject &, bool)
Description
Find or begin building a MetaSound asset. Optionally, provide whether or not the builder is being accessed during a transaction. If false, enforces MetaSound being built is an asset. If true, does not enforce (transactions may result in assets being moved and becoming transient wherein the builder can and should be valid to act on the transient UObject in these rare cases).
| Name | FindOrBeginBuilding |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundDocumentBuilderRegistry.h |
| Include Path | #include "MetasoundDocumentBuilderRegistry.h" |
template<typename BuilderClass>
BuilderClass & FindOrBeginBuilding
(
UObject & InMetaSoundObject,
bool bIsTransacting
) const