unreal.MetaSoundEditorSubsystem

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

Bases: EditorSubsystem

The subsystem in charge of editor MetaSound functionality

C++ Source:

  • Plugin: Metasound

  • Module: MetasoundEditor

  • File: MetasoundEditorSubsystem.h

build_to_asset(builder, author, asset_name, package_path, template_sound_wave=None) -> (MetaSoundDocumentInterface, out_result=MetaSoundBuilderResult)

Build the given builder to a MetaSound asset

Parameters:
  • builder (MetaSoundBuilderBase) –

  • author (str) – Sets the author on the given builder’s document.

  • asset_name (str) – Name of the asset to build.

  • package_path (str) – Path of package to build asset to.

  • template_sound_wave (SoundWave) – SoundWave settings such as attenuation, modulation, and sound class will be copied from the optional TemplateSoundWave. For preset builders, TemplateSoundWave will override the template values from the referenced asset.

Returns:

out_result (MetaSoundBuilderResult):

Return type:

MetaSoundBuilderResult

set_node_location(builder, node, location) MetaSoundBuilderResult

Sets the visual location to InLocation of a given node InNode of a given builder’s document.

Parameters:
Returns:

out_result (MetaSoundBuilderResult):

Return type:

MetaSoundBuilderResult