Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraDataChannelWriter
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraDataChannelAccessor.h |
| Include | #include "NiagaraDataChannelAccessor.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataChannelAccessor.cpp |
UFUNCTION (BlueprintCallable, Category=NiagaraDataChannel,
Meta=(bVisibleToGame="true", bVisibleToCPU="true", bVisibleToGPU="true", Keywords="niagara DataChannel", AdvancedDisplay="DebugSource", AutoCreateRefTerm="DebugSource"))
bool InitWrite
(
FNiagaraDataChannelSearchParameters SearchParams,
int32 Count,
bool bVisibleToGame,
bool bVisibleToCPU,
bool bVisibleToGPU,
const FString & DebugSource
)
Remarks
Call before each batch of writes to allocate the data we'll be writing to.