Navigation
API > API/Plugins > API/Plugins/MetasoundEditor
| Name | IMetaSoundTemplateWidgetInterface |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEditor/Public/MetasoundTemplateWidgetInterface.h |
| Include Path | #include "MetasoundTemplateWidgetInterface.h" |
Syntax
class IMetaSoundTemplateWidgetInterface
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void IsSupportedTemplate
(
FName ConfigName, |
Returns whether or not the widget supports the given template. | MetasoundTemplateWidgetInterface.h |
|
void OnAuditionStateChanged
(
UAudioComponent* AudioComponent, |
Called when the MetaSound starts and stops auditioning. Provides a reference to the audio component when auditioning starts, and returns nullptr when auditioning stops. | MetasoundTemplateWidgetInterface.h |
|
void OnBuilderSet
(
UMetaSoundBuilderBase* Builder |
Called when the builder is initialized (prior to PreConstruct). | MetasoundTemplateWidgetInterface.h |
|
void OnInitializingTab
(
FMetaSoundTemplateWidgetTabInfo& TabInfo |
(Optional) Called when initializing a tab owning the given widget to allow implementation to provide basic tab display options and information. | MetasoundTemplateWidgetInterface.h |
|
void OnInitializingViewModel
(
TSubclassOf< UMetaSoundTemplateViewModelBase >& Class |
(Optional) If ViewModel class provided, automatically initializes and sets ViewModel of the given class for the given widget. | MetasoundTemplateWidgetInterface.h |
|