Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend > API/Plugins/MetasoundFrontend/FTrigger
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundTrigger.h |
| Include | #include "MetasoundTrigger.h" |
template<typename PreTriggerType, typename OnTriggerType>
void ExecuteBlock
(
PreTriggerType InPreTrigger,
OnTriggerType InOnTrigger
) const
Remarks
Executes one block of frames and calls underlying InPreTrigger and InOnTrigger functions with frame indices.
Parameters
| Name | Description |
|---|---|
| InPreTrigger | A function which handles frames before the first trigger in the current block. The function must accept the arguments (int32 StartFrame, int32 EndFrame). |
| InOnTrigger | A function which handles frames starting with the triggers index and ending the next trigger index or the number of frames in a block.. The function must accept the arguments (int32 StartFrame, int32 EndFrame). |