unreal.MetaSoundLiteralViewModel_FloatArray

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

Bases: MVVMViewModelBase

Viewmodel for binding a float array-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 (Array[float]): [Read-Write] The value of the bound Literal as a float array.

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: None

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

Type:

(Array[float])