Navigation
API > API/Plugins > API/Plugins/Niagara
Wrapper class for scratch pad scripts in an emitter. This is needed because each emitter version can have it's own copy of a scratch pad with the same name and they can't all be outered to the emitter that way.
| Name | UNiagaraScratchPadContainer |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraScratchPadContainer.h |
| Include Path | #include "NiagaraScratchPadContainer.h" |
Syntax
UCLASS (MinimalAPI)
class UNiagaraScratchPadContainer : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraScratchPadContainer
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Scripts | TArray< TObjectPtr< UNiagaraScript > > | NiagaraScratchPadContainer.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendScripts
(
const TArray< TObjectPtr< UNiagaraScript > >& InScripts |
NiagaraScratchPadContainer.h | ||
void AppendScripts
(
TObjectPtr< UNiagaraScratchPadContainer > InScripts |
NiagaraScratchPadContainer.h | ||
void CheckConsistency() |
NiagaraScratchPadContainer.h | ||
int32 FindIndexForScript
(
UNiagaraScript* InScript |
The scripts get added in specific ordering through inheritance. | NiagaraScratchPadContainer.h | |
UNiagaraScript * FindScriptAtIndex
(
int32 Index |
NiagaraScratchPadContainer.h | ||
void SetScripts
(
const TArray< TObjectPtr< UNiagaraScript > >& InScripts |
NiagaraScratchPadContainer.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
NiagaraScratchPadContainer.h |