Navigation
API > API/Plugins > API/Plugins/TechAudioToolsMetaSound
Viewmodel class for MetaSound inputs. Allows widgets in UMG to bind to MetaSound literals. Useful for creating knobs, sliders, and other widgets for setting MetaSound input parameters.
| Name | UMetaSoundInputViewModel |
| Type | class |
| Header File | /Engine/Plugins/Experimental/TechAudioTools/Source/TechAudioToolsMetaSound/Public/ViewModels/MetaSoundViewModel.h |
| Include Path | #include "ViewModels/MetaSoundViewModel.h" |
Syntax
UCLASS (DisplayName="MetaSound Input Viewmodel")
class UMetaSoundInputViewModel : public UMVVMViewModelBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMVVMViewModelBase → UMetaSoundInputViewModel
Implements Interfaces
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FName GetInputName() |
ViewModels/MetaSoundViewModel.h | ||
FText GetLiteralValueAsText() |
Returns the value of this input's MetaSound Literal as a text value. | ViewModels/MetaSoundViewModel.h |
|
virtual void InitializeInput
(
UMetaSoundBuilderBase* InBuilder, |
ViewModels/MetaSoundViewModel.h | ||
virtual void ResetInput() |
ViewModels/MetaSoundViewModel.h | ||
void SetDataType
(
const FName& InDataType |
ViewModels/MetaSoundViewModel.h | ||
void SetInputName
(
const FName& InInputName |
ViewModels/MetaSoundViewModel.h | ||
void SetIsArray
(
const bool bInIsArray |
ViewModels/MetaSoundViewModel.h | ||
void SetIsInitialized
(
const bool bInIsInitialized |
ViewModels/MetaSoundViewModel.h | ||
void SetLiteral
(
const FMetasoundFrontendLiteral& InLiteral |
ViewModels/MetaSoundViewModel.h |