Skip to content

USMGraphK2Node_StateMachineNode

Module: SMSystemEditor

Inherits from USMGraphK2Node_Base

Public Functions

Name
virtual void AllocateDefaultPins() override
virtual void OnRenameNode(const FString & NewName) override
virtual void PostPlacedNewNode() override
virtual void PostPasteNode() override
virtual void DestroyNode() override
virtual TSharedPtr< INameValidatorInterface > MakeNameValidator() const override
virtual FText GetMenuCategory() const override
virtual FText GetNodeTitle(ENodeTitleType::Type TitleType) const override
virtual UObject * GetJumpTargetForDoubleClick() const override
virtual bool IsActionFilteredOut(class FBlueprintActionFilter const & Filter) override
virtual bool IsCompatibleWithGraph(UEdGraph const * Graph) const override
virtual bool IsNodePure() const override
virtual void GetMenuActions(FBlueprintActionDatabaseRegistrar & ActionRegistrar) const override
virtual bool CanCollapseNode() const override
virtual bool CanCollapseToFunctionOrMacro() const override
FString GetStateMachineName() const
USMGraph * GetStateMachineGraph() const
USMGraphK2 * GetTopLevelStateMachineGraph() const

Protected Attributes

Name
TObjectPtr< USMGraph > BoundGraph
FNodeTextCache CachedFullTitle

Public Functions Documentation

function AllocateDefaultPins

virtual void AllocateDefaultPins() override

function OnRenameNode

virtual void OnRenameNode(
    const FString & NewName
) override

function PostPlacedNewNode

virtual void PostPlacedNewNode() override

function PostPasteNode

virtual void PostPasteNode() override

function DestroyNode

virtual void DestroyNode() override

function MakeNameValidator

virtual TSharedPtr< INameValidatorInterface > MakeNameValidator() const override

function GetMenuCategory

virtual FText GetMenuCategory() const override

function GetNodeTitle

virtual FText GetNodeTitle(
    ENodeTitleType::Type TitleType
) const override

function GetJumpTargetForDoubleClick

virtual UObject * GetJumpTargetForDoubleClick() const override

function IsActionFilteredOut

virtual bool IsActionFilteredOut(
    class FBlueprintActionFilter const & Filter
) override

Limit blueprints this shows up in.


function IsCompatibleWithGraph

virtual bool IsCompatibleWithGraph(
    UEdGraph const * Graph
) const override

function IsNodePure

virtual bool IsNodePure() const override

function GetMenuActions

virtual void GetMenuActions(
    FBlueprintActionDatabaseRegistrar & ActionRegistrar
) const override

Required to show up in BP right click context menu.


function CanCollapseNode

inline virtual bool CanCollapseNode() const override

function CanCollapseToFunctionOrMacro

inline virtual bool CanCollapseToFunctionOrMacro() const override

function GetStateMachineName

FString GetStateMachineName() const

function GetStateMachineGraph

inline USMGraph * GetStateMachineGraph() const

function GetTopLevelStateMachineGraph

USMGraphK2 * GetTopLevelStateMachineGraph() const

Protected Attributes Documentation

variable BoundGraph

TObjectPtr< USMGraph > BoundGraph;

variable CachedFullTitle

FNodeTextCache CachedFullTitle;

Constructing FText strings can be costly, so we cache the node's title