Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraSimCache
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCache.h |
| Include | #include "NiagaraSimCache.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraSimCache.cpp |
void ReadAttribute
&40;
TArray< float > & OutFloats,
TArray< FFloat16 > & OutHalfs,
TArray< int32 > & OutInts,
FName AttributeName,
FName EmitterName,
int FrameIndex
&41; const
Remarks
Reads Niagara attributes by name from the cache frame and appends them into the relevant arrays. When reading using this method the attributes for a FVector would come out as AoS rather than SoA so each component is wrote one by one EmitterName - If left blank will return the system simulation attributes.