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¶

Additional inherited members¶

Public Classes inherited from FSMGraphProperty_Base

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, ESMGraphPropertyDirection Direction =ESMGraphPropertyDirection::Both)
virtual FORCEINLINE uint8 * GetResult() const
virtual FORCEINLINE void SetResult(uint8 * Value)
virtual const FGuid & SetGuid(const FGuid & NewGuid)
FORCEINLINE const FGuid & GetGuid() const
virtual const FGuid & SetOwnerGuid(const FGuid & NewGuid)
FORCEINLINE const FGuid & GetOwnerGuid() const
void SetIsDefaultValueOnly(bool bNewValue)
FORCEINLINE bool GetIsDefaultValueOnly() const
FORCEINLINE bool IsInputProperty() const
FORCEINLINE bool IsOutputProperty() const
virtual FORCEINLINE FName GetResultPropertyName() const
virtual FORCEINLINE bool CanAcceptPropertyFlag(const ESMGraphPropertyFlags Flag) const
FORCEINLINE bool HasAnyPropertyFlags(const ESMGraphPropertyFlags Flag) const
FORCEINLINE bool HasAllPropertyFlags(const ESMGraphPropertyFlags Flag) const
FORCEINLINE bool AddPropertyFlags(const ESMGraphPropertyFlags Flag)
FORCEINLINE void RemovePropertyFlags(const ESMGraphPropertyFlags Flag)
FORCEINLINE bool SetPropertyFlags(const ESMGraphPropertyFlags NewFlags)
FORCEINLINE ESMGraphPropertyFlags GetPropertyFlags() const
FName GetPropertyFlagsPropertyName()

Public Attributes inherited from FSMGraphProperty_Base_Runtime

Protected Attributes inherited from FSMGraphProperty_Base_Runtime

Name
FSMNode_Base * OwningNode
FGuid Guid
FGuid OwnerGuid

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.