unreal.MetaSoundSourceBuilder
¶
- class unreal.MetaSoundSourceBuilder(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
MetaSoundBuilderBase
Builder in charge of building a MetaSound Source
C++ Source:
Plugin: Metasound
Module: MetasoundEngine
File: MetasoundBuilderSubsystem.h
Editor Properties: (see get_editor_property/set_editor_property)
is_attached
(bool): [Read-Write] deprecated: 5.4 - All source builders now operate on an underlying document source document that is also used to audition.
- audition(parent, audio_component, on_create_generator, live_updates_enabled=False) None ¶
Audition
- Parameters:
parent (Object) –
audio_component (AudioComponent) –
on_create_generator (OnCreateAuditionGeneratorHandleDelegate) –
live_updates_enabled (bool) –
- build(parent, options) MetaSoundDocumentInterface ¶
Build
- Parameters:
parent (Object) –
options (MetaSoundBuilderOptions) –
- Return type:
- get_live_updates_enabled() bool ¶
Returns whether or not live updates are both globally enabled (via cvar) and are enabled on this builder’s last built sound, which may or may not still be playing.
- Return type:
- set_block_rate_override(block_rate) None ¶
Sets the MetaSound’s BlockRate override
- Parameters:
block_rate (float) –
- set_format(output_format) MetaSoundBuilderResult ¶
Sets the output audio format of the source
- Parameters:
output_format (MetaSoundOutputAudioFormat) –
- Returns:
out_result (MetaSoundBuilderResult):
- Return type: