Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UEdGraphNode
- UNiagaraNode
- UNiagaraNodeWithDynamicPins
- UNiagaraNodeFunctionCall
- UNiagaraNodeAssignment
- UNiagaraNodeCustomHlsl
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeFunctionCall.h |
| Include | #include "NiagaraNodeFunctionCall.h" |
Syntax
UCLASS (MinimalAPI)
class UNiagaraNodeFunctionCall : public UNiagaraNodeWithDynamicPins
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInheritDebugStatus | Controls whether the debug state of the current function gets propagated into this function call. | |
| TMap< FGuid, FName > | BoundPinNames | ||
| FGuid | CachedChangeId | Adjusted every time that we compile this script. | |
| ENiagaraFunctionDebugState | DebugState | ||
| FString | FunctionDisplayName | ||
| TObjectPtr< UNiagaraScript > | FunctionScript | ||
| FName | FunctionScriptAssetObjectPath | A path to a script asset which can be used to assign the function script the first time that default pins are generated. | |
| TMap< FName, FName > | FunctionSpecifiers | ||
| FGuid | InvalidScriptVersionReference | If a script version we reference goes away we select a fallback version, but save the original version to generate warnings. | |
| FNiagaraMessageStore | MessageStore | ||
| FOnInputsChanged | OnInputsChangedDelegate | ||
| FGuid | PreviousScriptVersion | Can be used by the ui after a version change to display change notes | |
| TArray< FNiagaraPropagatedVariable > | PropagatedStaticSwitchParameters | All the input values the function propagates to the next higher caller instead of forcing the user to set them directly. | |
| FString | PythonUpgradeScriptWarnings | Can be used by the ui after a version change to display change notes | |
| FGuid | SelectedScriptVersion | ||
| FNiagaraFunctionSignature | Signature | Some functions can be provided a signature directly rather than a script. | |
| TArray< FNiagaraStackMessage > | StackMessages |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddOrphanedStaticSwitchPinForDataRetention
(
FNiagaraVariableBase StaticSwitchVariable, |
Adds a static switch pin to this function call node by variable id and sets it's default value using the supplied data and marks it as orphaned. | |
| UEdGraphPin * | AddStaticSwitchInputPin
(
FNiagaraVariable Input |
||
| void | |||
| void | ChangeScriptVersion
(
FGuid NewScriptVersion, |
If bDeferOverridePinUpdate is true then it is the caller's responsibility to call UpdateOverridePins() | |
| void | |||
| void | ComputeNodeName
(
FString SuggestedName, |
Resets the node name based on the referenced script or signature. | |
| bool | Checks to see if this called function contains any debug switches | ||
| bool | FindAutoBoundInput
(
const UNiagaraNodeInput* InputNode, |
||
| UEdGraphPin * | FindParameterMapDefaultValuePin
(
const FName VariableName, |
Walk through the internal script graph for an ParameterMapGet nodes and see if any of them specify a default for VariableName. | |
| void | FindParameterMapDefaultValuePins
(
TConstArrayView< FName > VariableNames, |
||
| FNiagaraPropagatedVariable * | FindPropagatedVariable
(
const FNiagaraVariable& Variable |
||
| UEdGraphPin * | FindStaticSwitchInputPin
(
const FName& VariableName |
Attempts to find the input pin for a static switch with the given name in the internal script graph. | |
| void | |||
| TArray< FGuid > | GetBoundPinGuidsByName
(
FName InputName |
||
| UNiagaraGraph * | |||
| ENiagaraScriptUsage | |||
| const TArray< FNiagaraStackMessage > & | Custom Notes API - Deprecated. Used for transferring to stack editor data. | ||
| UClass * | GetDIClass () |
If this is a DI function call, return the UClass of the DI. returns null for non DI function calls. | |
| FString | |||
| UNiagaraScriptSource * | |||
| FNiagaraMessageStore & | Messages API. | ||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| FLinearColor | |||
| FVersionedNiagaraScriptData * | |||
| FText | |||
| bool | |||
| bool | |||
| bool | IsBaseSignatureOfDataInterfaceFunction
(
const UEdGraphPin* Pin |
||
| bool | IsDeprecated () |
Returns true if this node is deprecated | |
| bool | IsValidPropagatedVariable
(
const FNiagaraVariable& Variable |
||
| FOnInputsChanged & | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | |||
| void | RemovePropagatedVariable
(
const FNiagaraVariable& Variable |
||
| void | SetFunctionSpecifier
(
FName Key, |
||
| void | SetPinAutoGeneratedDefaultValue
(
UEdGraphPin& FunctionInputPin, |
||
| void | SuggestName
(
FString SuggestedName, |
Tries to rename this function call to a new name. | |
| void | UpdateInputNameBinding
(
const FGuid& BoundVariableGuid, |
When overriding an input value, this updates which variable guid was bound to which input name, so it can be reassigned when the input is renamed. | |
| void | |||
| void | UpdateOverridePins
(
const FNiagaraScriptVersionUpgradeContext& UpgradeContext |
||
| void | |||
| void | UpdateReferencedStaticsHashForNode
(
FSHA1& HashState |
||
| void | |||
| void | Does any automated data manipulated required to update DI function call nodes to the current version. |
Overridden from UNiagaraNodeWithDynamicPins
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| bool | CanModifyPin
(
const UEdGraphPin* Pin |
Called to determine if this node can modify a given pin at all. | |
| bool | CanMovePin
(
const UEdGraphPin* Pin, |
Called to determine if a pin can be moved by the user. Negative values for up, positive for down. | |
| bool | CanRemovePin
(
const UEdGraphPin* Pin |
Called to determine if a pin can be removed by the user. | |
| bool | CanRenamePin
(
const UEdGraphPin* Pin |
Called to determine if a pin can be renamed by the user. | |
| void | CollectAddPinActions
(
FNiagaraMenuActionCollector& Collector, |
Virtual functions to allow for custom actions in Add Pin menus. | |
| void | MoveDynamicPin
(
UEdGraphPin* Pin, |
Moves a pin among the pins of the same direction. Negative values for up, positive for down. | |
| void | OnNewTypedPinAdded
(
UEdGraphPin*& NewPin |
Called when a new typed pin is added by the user. | |
| void | OnPinRenamed
(
UEdGraphPin* RenamedPin, |
Called when a pin is renamed. | |
| void | RemoveDynamicPin
(
UEdGraphPin* Pin |
Removes a pin from this node with a transaction. |
Overridden from UNiagaraNode
| Type | Name | Description | |
|---|---|---|---|
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
||
| void | BuildParameterMapHistory
(
FNiagaraParameterMapHistoryBuilder& OutHistory, |
Adds the current node information to the parameter map history | |
| bool | CanAddToGraph
(
UNiagaraGraph* TargetGraph, |
Apply any node-specific logic to determine if it is safe to add this node to the graph. | |
| void | Compile
(
FTranslator* Translator, |
||
| TSharedRef< SWidget > | |||
| TSharedPtr< SGraphNode > | |||
| void | GatherExternalDependencyData
(
ENiagaraScriptUsage InUsage, |
Go through all the external dependencies of this node in isolation and add them to the reference id list. | |
| void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
||
| ENiagaraNumericOutputTypeSelectionMode | Gets which mode to use when deducing the type of numeric output pins from the types of the input pins. | ||
| UObject * | Gets the asset referenced by this node, or nullptr if there isn't one. | ||
| void | |||
| void | PostLoad () |
||
| bool | Refreshes the node due to external changes, e.g. the underlying function changed for a function call node. | ||
| void | UpdateCompileHashForNode
(
FSHA1& HashState |
Old style compile hash code. To be removed in the future. |
Typedefs
| Name | Description |
|---|---|
| FOnInputsChanged |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FGuid, TObjectPtr< UNiagaraMessageData > > | MessageKeyToMessageMap_DEPRECATED | Marking those properties explicitly as editoronly_data will make localization not pick these up. |