Skip to content

ISMGraphK2Node_LinearExpressionInterface

Module: SMSystemEditor

#include <SMGraphK2Node_LinearExpressionInterface.h>

Inherited by USMGraphK2Node_PropertyIOReaderNode, USMGraphK2Node_PropertyIOWriterNode

Description

class ISMGraphK2Node_LinearExpressionInterface;

Interface for creating a custom widget when evaluating a linear expression within Logic Driver assets.

Public Functions

Name
virtual TSharedPtr< SWidget > MakeLinearExpressionNodeWidget() const
virtual TSharedPtr< SWidget > MakeLinearExpressionPinWidget(const UEdGraphPin * InPin) const
virtual bool DisplayParenthesis() const

Public Functions Documentation

function MakeLinearExpressionNodeWidget

inline virtual TSharedPtr< SWidget > MakeLinearExpressionNodeWidget() const

Generate a widget for displaying a node in a linear expression.

Return: A widget to display in an expression, or nullptr to use the default widget.

Reimplemented by: USMGraphK2Node_PropertyIOReaderNode::MakeLinearExpressionNodeWidget, USMGraphK2Node_PropertyIOWriterNode::MakeLinearExpressionNodeWidget


function MakeLinearExpressionPinWidget

inline virtual TSharedPtr< SWidget > MakeLinearExpressionPinWidget(
    const UEdGraphPin * InPin
) const

Generate a widget for displaying a pin owned by this node in a linear expression.

Return: A widget to display in an expression, or nullptr to use the default widget.

Reimplemented by: USMGraphK2Node_PropertyIOReaderNode::MakeLinearExpressionPinWidget, USMGraphK2Node_PropertyIOWriterNode::MakeLinearExpressionPinWidget


function DisplayParenthesis

inline virtual bool DisplayParenthesis() const

Whether to display the evaluation "( )" around the pin.

Reimplemented by: USMGraphK2Node_PropertyIOReaderNode::DisplayParenthesis, USMGraphK2Node_PropertyIOWriterNode::DisplayParenthesis