Navigation
API > API/Plugins > API/Plugins/Niagara
Simple struct intended to hide the details of passing a reference to compiled data. In particular for editor builds it will actually make a copy of the data to help try to avoid the many edge cases of recompiling/editing, while regular builds can reap the wins of just referencing the data and saving memory.
| Name | FNiagaraCompiledDataReference |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraCommon.h |
| Include Path | #include "NiagaraCommon.h" |
Syntax
template<typename T>
struct FNiagaraCompiledDataReference
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OptionalStructValue | TOptional< T > | NiagaraCommon.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T * Get() |
NiagaraCommon.h | ||
void Init
(
const T* SourceValue |
NiagaraCommon.h | ||
void Reset() |
NiagaraCommon.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const T * operator->() |
NiagaraCommon.h |