Navigation
API > API/Plugins > API/Plugins/MetasoundGenerator > API/Plugins/MetasoundGenerator/FMetasoundGenerator
References
| Module | MetasoundGenerator |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGenerator/Public/MetasoundGenerator.h |
| Include | #include "MetasoundGenerator.h" |
void OnNextBuffer
(
TUniqueFunction < void &)> Command
)
Remarks
Enqueues a command for this generator to execute when its next buffer is requested by the mixer. Enqueued commands are executed before OnGenerateAudio, and on the same thread. They can safely access generator state.