Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraDataInterfaceRenderTarge-
Description
Called when we begin to write data into a simulation cache. Returning nullptr means you are not going to cache any data for the simulation. The object returned will be stored directly into the cache file, so you are expected to manage the size of the object and store data appropriately.
Virtual Inheritance
- INiagaraSimCacheCustomStorageInterface::SimCacheBeginWrite → UNiagaraDataInterfaceRenderTarget2D::SimCacheBeginWrite
| Name | SimCacheBeginWrite |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceRenderTarget2D.h |
| Include Path | #include "NiagaraDataInterfaceRenderTarget2D.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataInterfaceRenderTarget2D.cpp |
virtual UObject * SimCacheBeginWrite
(
UObject * SimCache,
FNiagaraSystemInstance * NiagaraSystemInstance,
const void * OptionalPerInstanceData,
FNiagaraSimCacheFeedbackContext & FeedbackContext
) const