IGenerator::UpdateGenerator

Allows child generator class to override default copy/update behavior when receiving an updated generator call from the audio thread.

Choose your operating system:

Windows

macOS

Linux

References

Module

AudioModulation

Header

/Engine/Plugins/Runtime/AudioModulation/Source/AudioModulation/Public/SoundModulationGenerator.h

Include

#include "SoundModulationGenerator.h"

Syntax

void UpdateGenerator
(
    FGeneratorPtr && InGenerator
)

Remarks

Allows child generator class to override default copy/update behavior when receiving an updated generator call from the audio thread. Useful for ignoring updates while a generator is running or deferring the transition to the new generator state to the modulation processing thread. This enables interpolating between existing and new generator state, properties, avoiding discontinuities, etc.

Parameters

Parameter

Description

InGenerator

The constructed version of the generator being sent from the Audio Thread