Skip to content

FSMChildBucketPasteSnapshot

Module: SMSystemEditor

#include <SMGraphNodeSplitStructTypes.h>

Description

struct FSMChildBucketPasteSnapshot;

Snapshot of a split-struct child-graph bucket. Captured by PrepareForCopying and consumed by PostPasteNode as a fallback when text serialization drops the deserialized children. Holds authored pin defaults only; K2 wiring inside child graphs is not preserved.

Public Attributes

Name
FName ParentVariableName
FGuid ParentTemplateGuid
int32 ParentArrayIndex
FName SubPinName
FEdGraphPinType SubPinType
FText DisplayName
bool bIsArray
TArray< FString > ElementDefaults

Public Attributes Documentation

variable ParentVariableName

FName ParentVariableName;

Name of the parent property whose result pin owns this bucket. Resolves to the top-level property graph at paste time.


variable ParentTemplateGuid

FGuid ParentTemplateGuid;

Guid of the node template that owns the parent property. Disambiguates state-stack nodes where the same VariableName is exposed by multiple stacked templates. Invalid guid means no template association was captured; resolver falls back to the first VariableName match.


variable ParentArrayIndex

int32 ParentArrayIndex = INDEX_NONE;

Array slot of the parent property when it is an array element; INDEX_NONE for scalar / single properties.


variable SubPinName

FName SubPinName;

Engine-assigned sub-pin name on the parent's result pin that keys this bucket.


variable SubPinType

FEdGraphPinType SubPinType;

Pin type of the bucket's sub-pin (full array type for array buckets, element type for scalars).


variable DisplayName

FText DisplayName;

User-facing display label carried through to per-element naming on restore.


variable bIsArray

bool bIsArray = false;

True when the bucket holds an array of elements; false for single-graph members.


variable ElementDefaults

TArray< FString > ElementDefaults;

Authored DefaultValue strings for each bucket element, in order. Empty entries restore to zero-init.