unreal.MetaSoundViewModelConversionFunctions

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

Bases: BlueprintFunctionLibrary

Collection of conversion functions to use with MetaSound Viewmodels.

C++ Source:

  • Plugin: TechAudioTools

  • Module: TechAudioToolsMetaSound

  • File: MetaSoundViewModelConversionFunctions.h

classmethod find_input_view_model_by_name(meta_sound_input_view_models, input_name) MetaSoundInputViewModel

Searches the given array of MetaSoundInputViewModels for the specified input. Returns nullptr if unable to find a matching viewmodel.

Parameters:
Return type:

MetaSoundInputViewModel

classmethod find_output_view_model_by_name(meta_sound_output_view_models, output_name) MetaSoundOutputViewModel

Searches the given array of MetaSoundOutputViewModels for the specified output. Returns nullptr if unable to find a matching viewmodel.

Parameters:
Return type:

MetaSoundOutputViewModel

classmethod get_literal_value_as_text(literal) Text

Returns the value of the given MetaSound Literal as a text value.

Parameters:

literal (MetasoundFrontendLiteral)

Return type:

Text

classmethod is_array_type(data_type, invert=False) bool

Returns true if the given MetaSound data type is registered and can be used as an array type.

Parameters:
Return type:

bool

classmethod is_constructor_type(data_type, invert=False) bool

Returns true if the given MetaSound data type is registered and can be used for constructor pins.

Parameters:
Return type:

bool

classmethod is_interface_member(member_name, invert=False) bool

Checks whether the given member name belongs to a registered MetaSound interface.

Parameters:
Return type:

bool