unreal.MetaSoundLiteralViewModel_String

class unreal.MetaSoundLiteralViewModel_String(outer: Object | None = None, name: Name | str = 'None')

Bases: MVVMViewModelBase

Viewmodel for binding a string-type MetaSound Literal with a widget.

C++ Source:

  • Plugin: TechAudioTools

  • Module: TechAudioToolsMetaSound

  • File: MetaSoundLiteralViewModel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • literal (MetasoundFrontendLiteral): [Read-Write] The bound MetaSound Literal value. Should be bound using a two-way binding with the Literal variable of a MetaSoundInputViewModel.

  • source_value (str): [Read-Write] The value of the bound Literal as a string.

property literal: MetasoundFrontendLiteral

[Read-Write] The bound MetaSound Literal value. Should be bound using a two-way binding with the Literal variable of a MetaSoundInputViewModel.

Type:

(MetasoundFrontendLiteral)

property source_value: str

[Read-Write] The value of the bound Literal as a string.

Type:

(str)