Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraDataChannelWriter
Description
Call before each batch of writes to allocate the data we'll be writing to. NOTE: Init Write is only to support legacy flows. Please use Begin Write.
| Name | InitWrite |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataChannelAccessor.h |
| Include Path | #include "NiagaraDataChannelAccessor.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataChannelAccessor.cpp |
UFUNCTION (Meta=(DisplayName="Init Write (Legacy)"))
bool InitWrite
(
FNiagaraDataChannelSearchParameters SearchParams,
int32 Count,
bool bVisibleToGame,
bool bVisibleToCPU,
bool bVisibleToGPU,
const FString & DebugSource
)