Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraDataChannelHandler
Description
The provided delegate will be called whenever new entries are added to the relevant data channel. This means the delegate can be called multiple times per tick. This is only relevant for data published to the game thread, so no gpu data or data that's only visible to niagara systems.
| Name | SubscribeToDataChannelUpdates |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataChannelHandler.h |
| Include Path | #include "NiagaraDataChannelHandler.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataChannelHandler.cpp |
UFUNCTION (BlueprintCallable, Category="Data Channel",
Meta=(DisplayName="Subscribe To Data Channel Updates (Legacy)"))
void SubscribeToDataChannelUpdates
(
FOnNewNiagaraDataChannelPublish UpdateDelegate,
FNiagaraDataChannelSearchParameters SearchParams,
int32 & UnsubscribeToken
)