Navigation
API > API/Plugins > API/Plugins/Niagara > API/Plugins/Niagara/FNiagaraParameterStore > API/Plugins/Niagara/FNiagaraParameterStore/CopyParameterData
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraParameterStore.h |
| Include | #include "NiagaraParameterStore.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraParameterStore.cpp |
bool CopyParameterData
&40;
const FNiagaraVariable & Parameter,
uint8 &42; DestinationData
&41; const
Remarks
Copies the data stored for the given variable to the target pointer. This method automatically converts custom struct data back to lwc types. Just using the raw parameter store pointer via IndexOf() will be wrong if the target struct contains a lwc type like FVector. Returns true if the data was copied, false if the parameter could not be found in the store.