Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraSimCache
Description
Reads Niagara Quaternion attributes by name from the cache frame and appends them into the OutValues array. Local space emitters provide data at local rotation unless bLocalSpaceToWorld is true. EmitterName - If left blank will return the system simulation attributes. LocalSpaceToWorld - Caches are always stored in the emitters space, i.e. local or world space. You can set this to false if you want the local Quat rather than the world Quat.
| Name | ReadQuatAttribute |
| Type | function |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraSimCache.h |
| Include Path | #include "NiagaraSimCache.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraSimCache.cpp |
UFUNCTION (BlueprintCallable, Category=NiagaraSimCache,
Meta=(AdvancedDisplay="bLocalSpaceToWorld"))
void ReadQuatAttribute
(
TArray < FQuat > & OutValues,
FName AttributeName,
FName EmitterName,
bool bLocalSpaceToWorld,
int FrameIndex
) const