Navigation
API > API/Plugins > API/Plugins/AudioModulation > API/Plugins/AudioModulation/IGenerator
Description
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.
| Name | UpdateGenerator |
| Type | function |
| Header File | /Engine/Plugins/Runtime/AudioModulation/Source/AudioModulation/Public/SoundModulationGenerator.h |
| Include Path | #include "SoundModulationGenerator.h" |
void UpdateGenerator
(
FGeneratorPtr && InGenerator
)
Parameters
| Name | Remarks |
|---|---|
| InGenerator | The constructed version of the generator being sent from the Audio Thread |