Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UNiagaraNode
- UNiagaraNodeWithDynamicPins
- UNiagaraNodeFunctionCall
- UNiagaraNodeAssignment
- UNiagaraNodeCustomHlsl
- UNiagaraNodeOp
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraNodeWithDynamicPins.h |
| Include | #include "NiagaraNodeWithDynamicPins.h" |
Syntax
UCLASS&40;Abstract&41;
class UNiagaraNodeWithDynamicPins : public UNiagaraNode
Remarks
A base node for niagara nodes with pins which can be dynamically added and removed by the user.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddExistingParameter
(
FNiagaraVariable Parameter, |
||
| void | AddParameter
(
const UNiagaraScriptVariable* ScriptVar, |
Request a new pin. | |
| void | AddParameter
(
FNiagaraVariable Parameter, |
Request a new pin. | |
| bool | |||
| bool | AllowNiagaraTypeForAddPin
(
const FNiagaraTypeDefinition& InType, |
||
| bool | AllowNiagaraTypeForAddPin
(
const FNiagaraTypeDefinition& InType |
Determine whether or not a Niagara type is supported for an Add Pin possibility. | |
| 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. | |
| bool | CanRenamePinFromContextMenu
(
const UEdGraphPin* Pin |
||
| void | CollectAddPinActions
(
FNiagaraMenuActionCollector& Collector, |
Virtual functions to allow for custom actions in Add Pin menus. | |
| void | CreateAddPin
(
EEdGraphPinDirection Direction |
Creates an add pin on the node for the specified direction. | |
| EEdGraphPinDirection | Convenience method to determine whether this Node is a Map Get or Map Set when adding a parameter through the parameter panel. | ||
| bool | IsAddPin
(
const UEdGraphPin* Pin |
Helper to identify if a pin is an Add pin. | |
| bool | IsExecPin
(
const UEdGraphPin* Pin |
Helper to identify if a pin is an Add pin. | |
| 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. | |
| bool | OnVerifyTextChanged
(
const FText& NewText, |
||
| void | RemoveDynamicPin
(
UEdGraphPin* Pin |
Removes a pin from this node with a transaction. | |
| UEdGraphPin * | RequestNewTypedPin
(
EEdGraphPinDirection Direction, |
Requests a new pin be added to the node with the specified direction and type. | |
| UEdGraphPin * | RequestNewTypedPin
(
EEdGraphPinDirection Direction, |
Requests a new pin be added to the node with the specified direction, type, and name. |
Overridden from UNiagaraNode
| Type | Name | Description | |
|---|---|---|---|
| void | GetCompilationInputPins
(
FPinCollectorArray& InputPins |
||
| void | GetCompilationOutputPins
(
FPinCollectorArray& OutputPins |
||
| bool | IsValidPinToCompile
(
UEdGraphPin* Pin |
||
| bool | VerifyEditablePinName
(
const FText& InName, |
Called in subclasses to restrict renaming. |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
Gets a list of actions that can be done to this particular node | |
| bool | Does the node context menu inherit parent class's menu | ||
| void | PinConnectionListChanged
(
UEdGraphPin* Pin |
Called when the connection list of one of the pins of this node is changed in the editor |
Constants
| Name | Description |
|---|---|
| AddPinSubCategory | The sub category for add pins. |