Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- INiagaraSimCacheCustomStorageInterface
- UNiagaraDataInterfaceArray
- UNiagaraDataInterfaceArrayBool
- UNiagaraDataInterfaceArrayColor
- UNiagaraDataInterfaceArrayFloat
- UNiagaraDataInterfaceArrayFloat2
- UNiagaraDataInterfaceArrayFloat3
- UNiagaraDataInterfaceArrayFloat4
- UNiagaraDataInterfaceArrayInt32
- UNiagaraDataInterfaceArrayMatrix
- UNiagaraDataInterfaceArrayNiagaraID
- UNiagaraDataInterfaceArrayPosition
- UNiagaraDataInterfaceArrayQuat
- UNiagaraDataInterfaceArrayUInt8
- UNiagaraDataInterfaceHairStrands
- UNiagaraDataInterfaceLandscape
- UNiagaraDataInterfaceRenderTarget2D
- UNiagaraDataInterfaceRenderTargetVolume
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCacheCustomStorageInterface.h |
| Include | #include "NiagaraSimCacheCustomStorageInterface.h" |
Syntax
class INiagaraSimCacheCustomStorageInterface
Remarks
The current API for storing data inside a simulation cache. This is highly experimental and the API will change as we split editor / runtime data storage.
See INiagaraDataInterfaceSimCacheVisualizer to implement a custom visualizer widget for the stored data.
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FNiagaraVariableBase > | GetSimCacheRendererAttributes
(
UObject* UsageContext |
This function allows you to preserve a list of attributes when building a renderer only cache. | |
| UObject * | SimCacheBeginWrite
(
UObject* SimCache, |
Called when we begin to write data into a simulation cache. | |
| bool | SimCacheCompareFrame
(
const UObject* LhsStorageObject, |
Called to compare a frame between two separate simulation cache storages. | |
| bool | SimCacheEndWrite
(
UObject* StorageObject |
Called when we complete writing data into the simulation cache. | |
| void | SimCachePostReadFrame
(
void* OptionalPerInstanceData, |
Called when the simulation cache has finished reading a frame. | |
| bool | SimCacheReadFrame
(
UObject* StorageObject, |
Read a frame of data from the simulation cache. | |
| TSharedPtr< FJsonObject > | This converts the content of the storage object to a json representation. | ||
| bool | SimCacheWriteFrame
(
UObject* StorageObject, |
Called when we are ready to write data into the simulation cache. |