Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/INiagaraSimCacheCustomStorageInt-
Description
This function allows you to preserve a list of attributes when building a renderer only cache. The UsageContext will be either a UNiagaraSystem or a UNiagaraEmitter and can be used to scope your variables accordingly. For example, if you were to require 'Particles.MyAttribute' in order to process the cache results you would need to convert this into 'MyEmitter.Particles.MyAttribute' by checking the UsageContext is a UNiagaraEmitter and then creating the variable from the unique name.
| Name | GetSimCacheRendererAttributes |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCacheCustomStorageInterface.h |
| Include Path | #include "NiagaraSimCacheCustomStorageInterface.h" |
virtual TArray < FNiagaraVariableBase > GetSimCacheRendererAttributes
(
const UObject * UsageContext
) const