Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- FNiagaraParameterStore
- FNiagaraScriptExecutionParameterStore
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraScriptExecutionParameterStore.h |
| Include | #include "NiagaraScriptExecutionParameterStore.h" |
Syntax
USTRUCT ()
struct FNiagaraScriptExecutionParameterStore : public FNiagaraParameterStore
Remarks
Storage class containing actual runtime buffers to be used by the VM and the GPU. Is not the actual source for any parameter data, rather just the final place it's gathered from various other places ready for execution.
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bInitialized | ||
| TArray< uint8 > | CachedScriptLiterals | ||
| int32 | ParameterSize | Size of the parameter data not including prev frame values or internal constants. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FNiagaraScriptExecutionParameterStore
(
const FNiagaraParameterStore& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddScriptParams
(
UNiagaraScript* Script, |
||
| SIZE_T | |||
| void | InitFromOwningScript
(
UNiagaraScript* Script, |
TODO: These function can probably go away entirely when we replace the FNiagaraParameters and DataInterface info in the script with an FNiagaraParameterStore. |
Overridden from FNiagaraParameterStore
| Type | Name | Description | |
|---|---|---|---|
| bool | AddParameter
(
const FNiagaraVariable& Param, |
Adds the passed parameter to this store. | |
| void | Empty
(
bool bClearBindings |
Removes all parameters from this store and releases any data. | |
| bool | RemoveParameter
(
const FNiagaraVariableBase& Param |
Removes the passed parameter if it exists in the store. | |
| void | RenameParameter
(
const FNiagaraVariableBase& Param, |
Renames the passed parameter. | |
| void | Reset
(
bool bClearBindings |
Removes all parameters from this store but doesn't change memory allocations. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FNiagaraScriptExecutionParameterStore & | operator=
(
const FNiagaraParameterStore& Other |