Skip to content

FSMTextSerializer

Module: SMExtendedRuntime

#include <SMTextGraphProperty.h>

Description

struct FSMTextSerializer;

Helper for converting object data to text in FSMTextGraphProperty.

Public Functions

Name
bool HasToTextFunctions() const
FORCEINLINE uint32 GetTypeHash()

Public Attributes

Name
FName ToTextDynamicFunctionName
TArray< FName > ToTextFunctionNames

Public Functions Documentation

function HasToTextFunctions

inline bool HasToTextFunctions() const

function GetTypeHash

inline FORCEINLINE uint32 GetTypeHash()

Public Attributes Documentation

variable ToTextDynamicFunctionName

FName ToTextDynamicFunctionName;

When an object is placed in the text graph this function will be dynamically found from the object and executed. The function should be pure and return only text.

This is dynamically looked up during run-time. If empty no function is looked up.


variable ToTextFunctionNames

TArray< FName > ToTextFunctionNames;

When an object is placed in the text graph this function will be looked up from the object and executed. The function should be pure and return only text.

This function must exist on the class of the object placed in the text graph.

If empty no function is looked up.