Skip to content

FSMGraphProperty

Module: SMSystem

#include <SMGraphProperty_Base.h>

Inherits from FSMGraphProperty_Base, FSMGraphProperty_Base_Runtime

Description

struct FSMGraphProperty;

EDITOR: Graph properties which represent a variable exposed on a node. Contains additional properties for configuration and compilation.

Public Functions

Name
FSMGraphProperty()
virtual const FSMNodeWidgetInfo * GetWidgetInfo() const override
virtual int32 GetVerticalDisplayOrder() const override

Public Attributes

Name
FSMTextDisplayWidgetInfo WidgetInfo

Additional inherited members

Public Classes inherited from FSMGraphProperty_Base

Name
struct FVariableDetailsCustomizationConfiguration

Public Functions inherited from FSMGraphProperty_Base

Name
FSMGraphProperty_Base()
virtual const FGuid & SetGuid(const FGuid & NewGuid) override
const FGuid & SetGuid(const FGuid & NewGuid, int32 Index, bool bCountTemplate =true)
const FGuid & GenerateNewGuid()
const FGuid & GenerateNewGuidIfNotValid()
void InvalidateGuid()
const FGuid & SetTemplateGuid(const FGuid & NewGuid, bool bRefreshGuid =false)
const FGuid & GetTemplateGuid() const
const FGuid & GetUnmodifiedGuid() const
virtual bool ShouldAutoAssignVariable() const
virtual bool ShouldGenerateGuidFromVariable() const
virtual bool IsVariableReadOnly() const
virtual bool IsVariableHidden() const
virtual bool ShouldCompileReadOnlyVariables() const
virtual void GetVariableDetailsCustomization(FVariableDetailsCustomizationConfiguration & OutCustomizationConfiguration) const
virtual bool IsEditorThreadSafe() const
virtual UClass * GetGraphClass(UObject * Outer) const
virtual UClass * GetGraphSchemaClass(UObject * Outer) const
virtual const FString & GetGraphModuleName() const
virtual UPackage * GetEditorModule() const
virtual const FString & GetPropertyDisplayName() const
virtual bool AllowToggleGraphEdit() const
virtual bool ShouldDefaultToEditMode() const
FText GetDisplayName() const

Public Attributes inherited from FSMGraphProperty_Base

Name
FName VariableName
FEdGraphPinType VariableType
FMemberReference MemberReference
bool bIsInArray
bool bReadOnly
bool bHidden
FText RealDisplayName
int32 ArrayIndex

Protected Attributes inherited from FSMGraphProperty_Base

Name
FName GraphClassName
FName GraphSchemaClassName
FString GraphModuleClassName
TObjectPtr< UClass > CachedGraphClass
TObjectPtr< UClass > CachedSchemaClass
FGuid GuidUnmodified
FGuid TemplateGuid
int32 GuidIndex

Public Functions inherited from FSMGraphProperty_Base_Runtime

Name
FSMGraphProperty_Base_Runtime()
virtual ~FSMGraphProperty_Base_Runtime() =default
virtual void Initialize(FSMNode_Base * InOwningNode)
virtual void Execute(void * Params =nullptr)
virtual uint8 * GetResult() const
virtual void SetResult(uint8 * Value)
virtual const FGuid & SetGuid(const FGuid & NewGuid)
const FGuid & GetGuid() const
virtual const FGuid & SetOwnerGuid(const FGuid & NewGuid)
const FGuid & GetOwnerGuid() const
void SetIsDefaultValueOnly(bool bNewValue)
bool GetIsDefaultValueOnly() const
virtual FName GetResultPropertyName() const

Public Attributes inherited from FSMGraphProperty_Base_Runtime

Name
TArray< FSMExposedFunctionHandler > * GraphEvaluator
FSMGraphProperty_Base_Runtime * LinkedProperty

Protected Attributes inherited from FSMGraphProperty_Base_Runtime

Name
FGuid Guid
FGuid OwnerGuid
uint8 bIsDefaultValueOnly
FSMNode_Base * OwningNode

Public Functions Documentation

function FSMGraphProperty

FSMGraphProperty()

function GetWidgetInfo

inline virtual const FSMNodeWidgetInfo * GetWidgetInfo() const override

Return the widget info for this property.

Reimplements: FSMGraphProperty_Base::GetWidgetInfo


function GetVerticalDisplayOrder

inline virtual int32 GetVerticalDisplayOrder() const override

The desired vertical location on the graph node for this widget to be displayed.

Deprecated:

Use DisplayOrder metadata for native properties or adjust the blueprint variable order in blueprints.

Reimplements: FSMGraphProperty_Base::GetVerticalDisplayOrder


Public Attributes Documentation

variable WidgetInfo

FSMTextDisplayWidgetInfo WidgetInfo;

Customize the appearance of the node property widget.