Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UEdGraphNode
- UK2Node
- UK2Node_CallFunction
- UK2Node_PromotableOperator
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_PromotableOperator.h |
| Include | #include "K2Node_PromotableOperator.h" |
Syntax
UCLASS (MinimalAPI)
class UK2Node_PromotableOperator :
public UK2Node_CallFunction ,
public IK2Node_AddPinInterface
Remarks
The promotable operator node allows for pin types to be promoted to others, i.e. float to double
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_PromotableOperator
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | CanConvertComparisonOperatorNodeType
(
const UEdGraphNode* Node |
Returns true if we can convert this node to another comparison operator type. | |
| bool | CanConvertPinType
(
const UEdGraphPin* Pin |
Returns true if the given pin can be converted via the context menu to another type | |
| void | ConvertComparisonOperatorNode
(
UEdGraphNode* Node, |
Converts the given node to use the new operator name | |
| void | ConvertPinType
(
UEdGraphPin* PinToChange, |
Convert the given pin to the new pin type. | |
| UEdGraphPin * | Attempts to find the error tolerance pin on this node. Can return nullptr. | ||
| UEdGraphPin * | GetAdditionalPin
(
int32 PinIndex |
Gets the additional pin that was created at this index | |
| const FName | |||
| UEdGraphPin * | GetOutputPin () |
Returns the first pin with the EGPD_Output direction | |
| void | |||
| void | Recombines all split pins and sets the node to have default values (all wildcard pins) |
Overridden from UK2Node_CallFunction
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| bool | By default, pure nodes can be toggled. | ||
| void | GetNodeContextMenuActions
(
UToolMenu* Menu, |
||
| FText | |||
| void | PinDefaultValueChanged
(
UEdGraphPin* Pin |
||
| void | |||
| void | SetFromFunction
(
const UFunction* Function |
Set properties of this node from a supplied function (does not save ref to function) |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| void | AutowireNewNode
(
UEdGraphPin* FromPin |
||
| void | ExpandNode
(
FKismetCompilerContext& CompilerContext, |
Expands a node while compiling, which may add additional nodes or delete this node | |
| void | GetPinHoverText
(
const UEdGraphPin& Pin, |
||
| bool | IsConnectionDisallowed
(
const UEdGraphPin* MyPin, |
||
| void | NotifyPinConnectionListChanged
(
UEdGraphPin* Pin |
Called when the connection list of one of the pins of this node is changed in the editor, after the pin has had it's literal cleared | |
| void | Called at the end of ReconstructNode, allows node specific work to be performed | ||
| void | ReallocatePinsDuringReconstruction
(
TArray< UEdGraphPin* >& OldPins |
Reallocate pins during reconstruction; by default ignores the old pins and calls AllocateDefaultPins() If you override this to create additional pins you likely need to call RestoreSplitPins to restore any pins that have been split (e.g. a vector pin split into its components) |
Overridden from IK2Node_AddPinInterface
| Type | Name | Description | |
|---|---|---|---|
| void | AddInputPin () |
Add an additional input pin to this node | |
| bool | CanAddPin () |
Determines if a pin can be added to this node. | |
| bool | CanRemovePin
(
const UEdGraphPin* Pin |
Returns true if the given pin can be removed from this node. | |
| void | RemoveInputPin
(
UEdGraphPin* Pin |
Attempt to remove the given pin from this node. |