Skip to content

FSMGraphSchemaAction_NewNode

Module: SMSystemEditor

#include <SMGraphSchema.h>

Inherits from FEdGraphSchemaAction

Description

struct FSMGraphSchemaAction_NewNode;

Action to add a node to the graph

Public Functions

Name
FSMGraphSchemaAction_NewNode()
FSMGraphSchemaAction_NewNode(const FText & InNodeCategory, const FText & InMenuDesc, const FText & InToolTip, const int32 InGrouping)
virtual UEdGraphNode * PerformAction(UEdGraph * ParentGraph, UEdGraphPin * FromPin, const FVector2D Location, bool bSelectNewNode =true) override
virtual void AddReferencedObjects(FReferenceCollector & Collector) override

Public Attributes

Name
TObjectPtr< UEdGraph > OwnerOfTemporaries
TObjectPtr< UEdGraphNode > GraphNodeTemplate
TSoftClassPtr< UObject > NodeSoftClassPath
bool bDontOverrideDefaultClass
bool bDontCallPostPlacedNode

Public Functions Documentation

function FSMGraphSchemaAction_NewNode

inline FSMGraphSchemaAction_NewNode()

function FSMGraphSchemaAction_NewNode

inline FSMGraphSchemaAction_NewNode(
    const FText & InNodeCategory,
    const FText & InMenuDesc,
    const FText & InToolTip,
    const int32 InGrouping
)

function PerformAction

virtual UEdGraphNode * PerformAction(
    UEdGraph * ParentGraph,
    UEdGraphPin * FromPin,
    const FVector2D Location,
    bool bSelectNewNode =true
) override

function AddReferencedObjects

virtual void AddReferencedObjects(
    FReferenceCollector & Collector
) override

Public Attributes Documentation

variable OwnerOfTemporaries

TObjectPtr< UEdGraph > OwnerOfTemporaries;

Only used if the TransientPackage is provided as the outer.


variable GraphNodeTemplate

TObjectPtr< UEdGraphNode > GraphNodeTemplate;

The UEdGraphNode to be spawned.


variable NodeSoftClassPath

TSoftClassPtr< UObject > NodeSoftClassPath;

variable bDontOverrideDefaultClass

bool bDontOverrideDefaultClass;

variable bDontCallPostPlacedNode

bool bDontCallPostPlacedNode;