UK2Node_MathExpression

This node type acts like a collapsed node, a single node that represents a larger sub-network of nodes (contained within a sub-graph).

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Name Description

Public variable

bool

 

bMadeAfterRotChange

Public variable

FString

 

Expression

The math expression to evaluate.

Constructors

Name Description

Public function

UK2Node_MathExpression

(
    const FObjectInitializer& ObjectIn...
)

Overridden from UK2Node_EditablePinBase

Name Description

Public function Virtual

bool

 

CanCreateUserDefinedPin

(
    const FEdGraphPinType& InPinType,
    EEdGraphPinDirection InDesiredDirec...,
    FText& OutErrorMessage
)

Queries if a user defined pin of the passed type can be constructed on this node.

Overridden from UK2Node

Name Description

Public function Virtual Const

FNodeHandlin...

 

CreateNodeHandler

(
    FKismetCompilerContext& CompilerCo...
)

Public function Virtual Const

void

 

GetMenuActions

Replacement for GetMenuEntries().

Public function Virtual Const

bool

 

IsNodePure()

Returns whether this node is considered 'pure' by the compiler

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

FindDiffs

(
    UEdGraphNode* OtherNode,
    FDiffResults& Results
)

Gives the node the option to customize how diffs are discovered within it.

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

TSharedPtr< ...

 

MakeNameValidator()

Create a name validator for this node

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Public function Virtual

void

 

PostPlacedNewNode()

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called.

Public function Virtual

void

 

ReconstructNode()

Refresh the connectors on a node, preserving as many connections as it can.

Public function Virtual Const

bool

 

ShouldMergeChildGraphs()

If the node has a subgraph, should they be merged into the main graph?

Public function Virtual Const

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

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.