Skip to content

FNodeStackContainer

Module: SMSystemEditor

Inherited by FStateStackContainer, FTransitionStackContainer

Public Functions

Name
FNodeStackContainer(USMNodeInstance * InTemplate =nullptr)
virtual ~FNodeStackContainer() =default
virtual TSubclassOf< USMNodeInstance > GetNodeClass()
void InitTemplate(UObject * Owner, bool bForceInit =false, bool bForceNewGuid =false)
void DestroyTemplate()
FText FormatStackInstanceName(const USMNodeInstance * InNodeInstance, int32 InIndex =INDEX_NONE)

Public Attributes

Name
TObjectPtr< USMNodeInstance > NodeStackInstanceTemplate
FGuid TemplateGuid

Public Functions Documentation

function FNodeStackContainer

inline explicit FNodeStackContainer(
    USMNodeInstance * InTemplate =nullptr
)

function ~FNodeStackContainer

virtual ~FNodeStackContainer() =default

function GetNodeClass

inline virtual TSubclassOf< USMNodeInstance > GetNodeClass()

The class to assign the template for this node stack.


function InitTemplate

void InitTemplate(
    UObject * Owner,
    bool bForceInit =false,
    bool bForceNewGuid =false
)

function DestroyTemplate

void DestroyTemplate()

function FormatStackInstanceName

static FText FormatStackInstanceName(
    const USMNodeInstance * InNodeInstance,
    int32 InIndex =INDEX_NONE
)

Format a friendly name given a node instance and optional index.


Public Attributes Documentation

variable NodeStackInstanceTemplate

TObjectPtr< USMNodeInstance > NodeStackInstanceTemplate;

The instanced template to use as an archetype.


variable TemplateGuid

FGuid TemplateGuid;