Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraScriptSourceBase
- UNiagaraScriptSource
References
Module | NiagaraEditor |
Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraScriptSource.h |
Include | #include "NiagaraScriptSource.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UNiagaraScriptSource : public UNiagaraScriptSourceBase
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bIsCompilationCopy | |
![]() |
bool | bIsReleased | |
![]() ![]() |
TObjectPtr< class UNiagaraGraph > | NodeGraph | Graph for particle update expression |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraScriptSource
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
UNiagaraScriptSource * | CreateCompilationCopy
(
const TArray< ENiagaraScriptUsage >& CompileUsages |
|
![]() ![]() ![]() |
void | FixupRenamedParameters
(
UNiagaraNodeFunctionCall* FunctionCallNode, |
|
![]() ![]() |
FVersionedNiagaraEmitter | ||
![]() ![]() ![]() |
void | InitializeNewParameters
(
UNiagaraNodeFunctionCall* FunctionCallNode, |
|
![]() |
void |
Overridden from UNiagaraScriptSourceBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AddModuleIfMissing
(
FString ModulePath, |
Adds a module if it isn't already in the graph. |
![]() ![]() |
void | ChangedLinkedInputTypes
(
const FNiagaraVariable& ParametersToChange, |
|
![]() ![]() ![]() |
void | CleanUpOldAndInitializeNewRapidIterationParameters
(
const FVersionedNiagaraEmitter& Emitter, |
|
![]() ![]() ![]() |
void | CollectDataInterfaces
(
TArray< const UNiagaraDataInterfaceBase* >& DataInterfaces |
|
![]() ![]() ![]() |
TMap< FName, UNiagaraDataInterface * > | ComputeObjectNameMap
(
UNiagaraSystem& System, |
|
![]() ![]() ![]() |
void | ComputeVMCompilationId
(
FNiagaraVMExecutableDataId& Id, |
|
![]() ![]() |
void | ||
![]() ![]() |
FGuid | GetChangeID () |
|
![]() ![]() ![]() |
FGuid | GetCompileBaseId
(
ENiagaraScriptUsage InUsage, |
|
![]() ![]() ![]() |
FNiagaraCompileHash | GetCompileHash
(
ENiagaraScriptUsage InUsage, |
|
![]() ![]() |
void | GetLinkedPositionTypeInputs
(
const TArray< FNiagaraVariable >& ParametersToCheck, |
Checks if any of the provided variables are linked to function inputs of position type data |
![]() ![]() |
bool | IsSynchronized
(
const FGuid& InChangeId |
Virtual ENiagaraScriptCompileStatus Compile(UNiagaraScript* ScriptOwner, FString& OutGraphLevelErrorMessages) override; |
![]() ![]() |
void | MarkNotSynchronized
(
FString Reason |
Enforce that the source graph is now out of sync with the script. |
![]() ![]() |
void | PostLoadFromEmitter
(
FVersionedNiagaraEmitter OwningEmitter |
Allows the derived editor only script source to handle a post load requested by an owning emitter. |
![]() ![]() |
void | ||
![]() ![]() |
void | Will conditionally refresh the graph's CompileId. | |
![]() ![]() ![]() |
void | RegisterVMCompilationIdDependencies
(
FNiagaraVMExecutableDataId& Id, |
|
![]() ![]() |
void | RenameGraphAssignmentAndSetNodePins
(
const FName OldName, |
Rename all graph assignment and map set node pins. |
![]() ![]() |
void | ReplaceScriptReferences
(
UNiagaraScript* OldScript, |
|
![]() ![]() |
void | SynchronizeGraphParametersWithParameterDefinitions
(
const TArray< UNiagaraParameterDefinitionsBase* > TargetDefinitions, |
Synchronize all source script variables that have been changed or removed from the parameter definitions to all eligible destination script variables owned by the graph. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |