Navigation
API > API/Editor > API/Editor/BlueprintGraph
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.
| Name | UK2Node_MathExpression |
| Type | class |
| Header File | /Engine/Source/Editor/BlueprintGraph/Classes/K2Node_MathExpression.h |
| Include Path | #include "K2Node_MathExpression.h" |
Syntax
UCLASS (MinimalAPI)
class UK2Node_MathExpression : public UK2Node_Composite
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UK2Node → UK2Node_EditablePinBase → UK2Node_Tunnel → UK2Node_Composite → UK2Node_MathExpression
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UK2Node_MathExpression
(
const FObjectInitializer& ObjectInitializer |
K2Node_MathExpression.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bMadeAfterRotChange | bool | K2Node_MathExpression.h | ||
| Expression | FString | The math expression to evaluate. | K2Node_MathExpression.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedDisplayExpression | FNodeTextCache | Constructing the display string for a Math Expression is costly, so we cache it | K2Node_MathExpression.h | |
| CachedMessageLog | TSharedPtr< class FCompilerResultsLog > | Cached so we don't have to regenerate it when the graph is recompiled | K2Node_MathExpression.h | |
| CachedNodeTitle | FNodeTextCache | Constructing FText strings can be costly, so we cache the node's title | K2Node_MathExpression.h |
Functions
Public
Overridden from UK2Node_EditablePinBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanCreateUserDefinedPin
(
const FEdGraphPinType& InPinType, |
Queries if a user defined pin of the passed type can be constructed on this node. | K2Node_MathExpression.h |
Overridden from UK2Node
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNodeHandlingFunctor * CreateNodeHandler
(
FKismetCompilerContext& CompilerContext |
K2Node_MathExpression.h | ||
virtual void GetMenuActions
(
FBlueprintActionDatabaseRegistrar& ActionRegistrar |
Replacement for GetMenuEntries(). | K2Node_MathExpression.h | |
virtual bool IsNodePure() |
Returns whether this node is considered 'pure' by the compiler | K2Node_MathExpression.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void FindDiffs
(
UEdGraphNode* OtherNode, |
K2Node_MathExpression.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
K2Node_MathExpression.h | ||
virtual TSharedPtr< class INameValidatorInterface > MakeNameValidator() |
K2Node_MathExpression.h | ||
virtual void OnRenameNode
(
const FString& NewName |
K2Node_MathExpression.h | ||
virtual void PostPlacedNewNode() |
K2Node_MathExpression.h | ||
virtual void ReconstructNode() |
K2Node_MathExpression.h | ||
virtual bool ShouldMergeChildGraphs() |
K2Node_MathExpression.h | ||
virtual void ValidateNodeDuringCompilation
(
FCompilerResultsLog& MessageLog |
K2Node_MathExpression.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
K2Node_MathExpression.h | ||
virtual void Serialize
(
FArchive& Ar |
K2Node_MathExpression.h |