unreal.MetasoundGeneratorHandle

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

Bases: Object

Metasound Generator Handle

C++ Source:

  • Plugin: Metasound

  • Module: MetasoundEngine

  • File: MetasoundGeneratorHandle.h

apply_parameter_pack(pack) bool

Makes a copy of the supplied parameter pack and passes it to the MetaSoundGenerator for asynchronous processing. IT ALSO caches this copy so that if the AudioComponent is virtualized the parameter pack will be sent again when/if the AudioComponent is “unvirtualized”.

Parameters:

pack (MetasoundParameterPack) –

Return type:

bool

classmethod create_meta_sound_generator_handle(on_component) MetasoundGeneratorHandle

Create Meta Sound Generator Handle

Parameters:

on_component (AudioComponent) –

Return type:

MetasoundGeneratorHandle