Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
A reference to an item inside a Niagara System such as an emitter, script, module, input or renderer.
| Name | FNiagaraExt_StackItemReference |
| Type | struct |
| Header File | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraExternalSystemEditorUtilities.h |
| Include Path | #include "NiagaraExternalSystemEditorUtilities.h" |
Syntax
USTRUCT (BlueprintInternalUseOnly)
struct FNiagaraExt_StackItemReference
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraExt_StackItemReference
(
UNiagaraSystem* InSystem, |
NiagaraExternalSystemEditorUtilities.h | ||
FNiagaraExt_StackItemReference
(
const FNiagaraExt_StackItemReference& Other |
Copy constructor and assignment clear cached UObject pointers so that a copy with a different InputNameStack always re-resolves rather than returning a stale cached input. | NiagaraExternalSystemEditorUtilities.h | |
| NiagaraExternalSystemEditorUtilities.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EmitterName | FName | NiagaraExternalSystemEditorUtilities.h |
|
|
| InputNameStack | TArray< FName > | Input Name stack. | NiagaraExternalSystemEditorUtilities.h |
|
| ModuleName | FName | Name of the module to reference. Requires a valid ScriptName. | NiagaraExternalSystemEditorUtilities.h |
|
| RendererIndex | int32 | Index of a renderer to reference. Requires a valid EmitterName. | NiagaraExternalSystemEditorUtilities.h |
|
| ScriptName | FName | NiagaraExternalSystemEditorUtilities.h |
|
|
| System | TObjectPtr< UNiagaraSystem > | NiagaraExternalSystemEditorUtilities.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedInput | TWeakObjectPtr< UNiagaraStackFunctionInput > | NiagaraExternalSystemEditorUtilities.h | ||
| CachedModule | TWeakObjectPtr< UNiagaraStackModuleItem > | NiagaraExternalSystemEditorUtilities.h | ||
| CachedScript | TWeakObjectPtr< UNiagaraStackScriptItemGroup > | IMPORTANT: These caches are only valid for a single operation and should never be stored long-term. | NiagaraExternalSystemEditorUtilities.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraEmitterHandle * GetEmitter
(
FNiagaraExternalEditContext& Context, |
NiagaraExternalSystemEditorUtilities.h | ||
UNiagaraStackFunctionInput * GetInput
(
FNiagaraExternalEditContext& Context, |
NiagaraExternalSystemEditorUtilities.h | ||
UNiagaraStackModuleItem * GetModule
(
FNiagaraExternalEditContext& Context, |
NiagaraExternalSystemEditorUtilities.h | ||
UNiagaraRendererProperties * GetRenderer
(
FNiagaraExternalEditContext& Context, |
NiagaraExternalSystemEditorUtilities.h | ||
UNiagaraStackScriptItemGroup * GetScript
(
FNiagaraExternalEditContext& Context, |
NiagaraExternalSystemEditorUtilities.h | ||
UNiagaraSystem * GetSystem
(
FNiagaraExternalEditContext& Context |
NiagaraExternalSystemEditorUtilities.h | ||
void PushInput
(
UNiagaraStackFunctionInput* Input |
NiagaraExternalSystemEditorUtilities.h | ||
| NiagaraExternalSystemEditorUtilities.h | |||
void SetEmitter
(
FNiagaraEmitterHandle* Emitter |
NiagaraExternalSystemEditorUtilities.h | ||
void SetEmitter
(
FName InEmitterName |
NiagaraExternalSystemEditorUtilities.h | ||
void SetInput
(
UNiagaraStackFunctionInput* Input |
NiagaraExternalSystemEditorUtilities.h | ||
| NiagaraExternalSystemEditorUtilities.h | |||
void SetModule
(
UNiagaraStackModuleItem* Module |
NiagaraExternalSystemEditorUtilities.h | ||
| NiagaraExternalSystemEditorUtilities.h | |||
void SetRenderer
(
int32 InRendererIndex |
NiagaraExternalSystemEditorUtilities.h | ||
void SetScript
(
UNiagaraStackScriptItemGroup* Script |
NiagaraExternalSystemEditorUtilities.h | ||
| NiagaraExternalSystemEditorUtilities.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNiagaraExt_StackItemReference & operator=
(
const FNiagaraExt_StackItemReference& Other |
NiagaraExternalSystemEditorUtilities.h |