Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/UNiagaraSimCache > API/Plugins/Niagara/UNiagaraSimCache/ReadDataInterfaceAs
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 |
UFUNCTION (BlueprintCallable, Category=NiagaraSimCache)
UObject * ReadDataInterfaceAs
(
UClass * RequestedType,
FName AttributeName,
int FrameIndex
) const
Remarks
Reads data interface data from the cache as the requested type. This method will return nullptr if the attribute does not exists or the requests type is not supported by the storage type.