Navigation
API > API/Plugins > API/Plugins/Niagara
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.
| Name | FNiagaraScriptExecutionParameterStore |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraScriptExecutionParameterStore.h |
| Include Path | #include "NiagaraScriptExecutionParameterStore.h" |
Syntax
USTRUCT ()
struct FNiagaraScriptExecutionParameterStore : public FNiagaraParameterStore
Inheritance Hierarchy
- FNiagaraParameterStore → FNiagaraScriptExecutionParameterStore
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| NiagaraScriptExecutionParameterStore.h | |||
FNiagaraScriptExecutionParameterStore
(
const FNiagaraParameterStore& Other |
NiagaraScriptExecutionParameterStore.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNiagaraScriptExecutionParameterStore() |
NiagaraScriptExecutionParameterStore.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bInitialized | uint8 | NiagaraScriptExecutionParameterStore.h | ||
| CachedScriptLiterals | TArray< uint8 > | NiagaraScriptExecutionParameterStore.h | ||
| ParameterSize | int32 | Size of the parameter data not including prev frame values or internal constants. | NiagaraScriptExecutionParameterStore.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddScriptParams
(
UNiagaraScript* Script, |
NiagaraScriptExecutionParameterStore.h | ||
SIZE_T GetResourceSize() |
NiagaraScriptExecutionParameterStore.h | ||
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. | NiagaraScriptExecutionParameterStore.h |
Overridden from FNiagaraParameterStore
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddParameter
(
const FNiagaraVariable& Param, |
Adds the passed parameter to this store. | NiagaraScriptExecutionParameterStore.h | |
virtual void Empty
(
bool bClearBindings |
Removes all parameters from this store and releases any data. | NiagaraScriptExecutionParameterStore.h | |
virtual bool RemoveParameter
(
const FNiagaraVariableBase& Param |
Removes the passed parameter if it exists in the store. | NiagaraScriptExecutionParameterStore.h | |
virtual void RenameParameter
(
const FNiagaraVariableBase& Param, |
Renames the passed parameter. | NiagaraScriptExecutionParameterStore.h | |
virtual void Reset
(
bool bClearBindings |
Removes all parameters from this store but doesn't change memory allocations. | NiagaraScriptExecutionParameterStore.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 GenerateLayoutInfoInternal
(
TArray< FNiagaraScriptExecutionPaddingInfo >& Members, |
NiagaraScriptExecutionParameterStore.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraScriptExecutionParameterStore & operator=
(
const FNiagaraParameterStore& Other |
NiagaraScriptExecutionParameterStore.h |