unreal.MetaSoundInputViewModel

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

Bases: MVVMViewModelBase

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.

C++ Source:

  • Plugin: TechAudioTools

  • Module: TechAudioToolsMetaSound

  • File: MetaSoundViewModel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • data_type (Name): [Read-Write] The data type of the initialized MetaSound input.

  • input_name (Name): [Read-Write] The name of the initialized MetaSound input.

  • is_array (bool): [Read-Write] True if the initialized MetaSound input is an array.

  • is_constructor_pin (bool): [Read-Write] True if the initialized MetaSound input is a constructor pin.

  • is_initialized (bool): [Read-Write] True if this MetaSoundInputViewModel has been initialized.

  • literal (MetasoundFrontendLiteral): [Read-Write] The MetaSound Literal belonging to the initialized MetaSound input.

  • literal_type (MetasoundFrontendLiteralType): [Read-Write] Returns the Literal Type belonging to the initialized MetaSound input.

  • overrides_default (bool): [Read-Write] True if the initialized MetaSound input overrides its value from a parent graph.

property data_type: Name

[Read-Write] The data type of the initialized MetaSound input.

Type:

(Name)

property input_name: Name

[Read-Write] The name of the initialized MetaSound input.

Type:

(Name)

property is_array: bool

[Read-Write] True if the initialized MetaSound input is an array.

Type:

(bool)

property is_constructor_pin: bool

[Read-Write] True if the initialized MetaSound input is a constructor pin.

Type:

(bool)

property is_initialized: bool

[Read-Only] True if this MetaSoundInputViewModel has been initialized.

Type:

(bool)

property literal: MetasoundFrontendLiteral

[Read-Write] The MetaSound Literal belonging to the initialized MetaSound input.

Type:

(MetasoundFrontendLiteral)

property literal_type: MetasoundFrontendLiteralType

[Read-Only] Returns the Literal Type belonging to the initialized MetaSound input.

Type:

(MetasoundFrontendLiteralType)

property overrides_default: bool

[Read-Write] True if the initialized MetaSound input overrides its value from a parent graph.

Type:

(bool)