Navigation
API > API/Plugins > API/Plugins/NiagaraEditor > API/Plugins/NiagaraEditor/ViewModels > API/Plugins/NiagaraEditor/ViewModels/Stack > API/Plugins/NiagaraEditor/ViewModels/Stack/UNiagaraStackObject > API/Plugins/NiagaraEditor/ViewModels/Stack/UNiagaraStackObject/Initialize
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/ViewModels/Stack/NiagaraStackObject.h |
| Include | #include "ViewModels/Stack/NiagaraStackObject.h" |
| Source | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/ViewModels/Stack/NiagaraStackObject.cpp |
void Initialize
(
FRequiredEntryData InRequiredEntryData,
UObject * InOwningObject,
TSharedRef < FStructOnScope > InDisplayedStruct,
const FString & InStructName,
bool bInIsTopLevelStruct,
bool bInHideTopLevelCategories,
FString InOwnerStackItemEditorDataKey,
UNiagaraNode * InOwningNiagaraNode
)
Remarks
Initializes an entry for displaying a UStruct in the niagara stack.
Parameters
| Name | Description |
|---|---|
| InRequiredEntryData | Struct with required data for all stack entries. |
| InOwningObject | The object which owns the struct being displayed in the stack. |
| InStruct | The struct which will be displayed in the stack. |
| InStructName | A unique name for the struct which is used for identification and for generating the stack editor data key. |
| bInIsTopLevelStruct | Whether or not the struct being displayed should be treated as a top level object shown in the root of the stack. This can be used to make layout decisions such as category styling. |
| InOwnerStackItemEditorDataKey | The stack editor data key of the owning stack entry. |
| InOwningNiagaraNode | An optional niagara node which owns the displayed struct. |