Navigation
API > API/Editor > API/Editor/BlueprintGraph
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UK2Node
- UK2Node_EditablePinBase
- UK2Node_Tunnel
- UK2Node_Composite
- UK2Node_MathExpression
References
| Module | BlueprintGraph |
| Header | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_MathExpression.h |
| Include | #include "K2Node_MathExpression.h" |
Syntax
class UK2Node_MathExpression : public UK2Node_Composite
Remarks
This node type acts like a collapsed node, a single node that represents a larger sub-network of nodes (contained within a sub-graph). This node will take the math expression it was named with, and attempt to convert it into a series of math nodes. If it is unsuccessful, then it generates a series of actionable errors.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMadeAfterRotChange | ||
| FString | Expression | The math expression to evaluate. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UK2Node_MathExpression
(
const FObjectInitializer& ObjectInitializer |
Overridden from UK2Node_EditablePinBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. |
Overridden from UK2Node
| Type | Name | Description | |
|---|---|---|---|
| FNodeHandlingFunctor * | CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
||
| void | GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | |
| bool | IsNodePure () |
Returns whether this node is considered 'pure' by the compiler |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | FindDiffs
(
UEdGraphNode* OtherNode, |
Gives the node the option to customize how diffs are discovered within it. | |
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| TSharedPtr< class INameValidatorInterface > | Create a name validator for this node | ||
| void | OnRenameNode
(
const FString& NewName |
Called when this node is being renamed after a successful name validation | |
| void | A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. | ||
| void | Refresh the connectors on a node, preserving as many connections as it can. | ||
| bool | If the node has a subgraph, should they be merged into the main graph? | ||
| void | ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
Gives each visual node a chance to do final validation before it's node is harvested for use at runtime. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Handles reading, writing, and reference collecting using FArchive. |