Navigation
API > API/Plugins > API/Plugins/GameplayCamerasEditor
A structure that provides all the information needed to build, edit, and maintain an object tree graph.
| Name | FObjectTreeGraphConfig |
| Type | struct |
| Header File | /Engine/Plugins/Cameras/GameplayCameras/Source/GameplayCamerasEditor/Public/Editors/ObjectTreeGraphConfig.h |
| Include Path | #include "Editors/ObjectTreeGraphConfig.h" |
Syntax
struct FObjectTreeGraphConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObjectTreeGraphConfig() |
Creates a new graph config. | Editors/ObjectTreeGraphConfig.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConnectableObjectClasses | TArray< UClass * > | The list of connectable object classes. | Editors/ObjectTreeGraphConfig.h | |
| DefaultGraphNodeBodyTintColor | FLinearColor | The default body color for an object's graph node. | Editors/ObjectTreeGraphConfig.h | |
| DefaultGraphNodeClass | TSubclassOf< UObjectTreeGraphNode > | The default graph node class to use in the graph. | Editors/ObjectTreeGraphConfig.h | |
| DefaultGraphNodeTitleColor | FLinearColor | The default title background color for an object's graph node. | Editors/ObjectTreeGraphConfig.h | |
| DefaultGraphNodeTitleTextColor | FLinearColor | The default title text color for an object's graph node. | Editors/ObjectTreeGraphConfig.h | |
| DefaultSelfPinFriendlyName | FText | The default friendly name for a node's self pin. | Editors/ObjectTreeGraphConfig.h | |
| DefaultSelfPinName | FName | The default name for a node's self pin. | Editors/ObjectTreeGraphConfig.h | |
| GraphDisplayInfo | FGraphDisplayInfo | The graph display information. | Editors/ObjectTreeGraphConfig.h | |
| GraphName | FName | The name of the graph, passed to some APIs like IObjectTreeGraphRootObject. | Editors/ObjectTreeGraphConfig.h | |
| NonConnectableObjectClasses | TArray< UClass * > | The list of unconnectable object classes. | Editors/ObjectTreeGraphConfig.h | |
| ObjectClassConfigs | TMap< UClass *, FObjectTreeGraphClassConfig > | Advanced, optional bits of configuration for specific classes and sub-classes of objects. | Editors/ObjectTreeGraphConfig.h | |
| OnFormatObjectDisplayName | FOnFormatObjectDisplayName | A custom callback to format an object's display name. | Editors/ObjectTreeGraphConfig.h | |
| OnGetGraphDisplayInfo | FOnGetGraphDisplayInfo | A custom callback to get the graph display information, to override GraphDisplayInfo. | Editors/ObjectTreeGraphConfig.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetConnectableClasses
(
TArray< UClass* >& OutClasses, |
Gets all possible known connectable classes. | Editors/ObjectTreeGraphConfig.h | |
FText GetDisplayNameText
(
const UObject* InObject |
Computes the display name of the given object. | Editors/ObjectTreeGraphConfig.h | |
FText GetDisplayNameText
(
const UClass* InClass |
Computes the display name of the given object class. | Editors/ObjectTreeGraphConfig.h | |
FObjectTreeGraphClassConfigs GetObjectClassConfigs
(
const UClass* InObjectClass |
Gets the advanced class-specific configuration for the given class. | Editors/ObjectTreeGraphConfig.h | |
EEdGraphPinDirection GetPropertyPinDirection
(
const UClass* InObjectClass, |
Gets the custom property pin direction for a given named property. | Editors/ObjectTreeGraphConfig.h | |
EEdGraphPinDirection GetSelfPinDirection
(
const UClass* InObjectClass |
Gets the "self" pin direction for a given class. | Editors/ObjectTreeGraphConfig.h | |
bool IsConnectable
(
UClass* InObjectClass |
Returns whether the given class is connectable. | Editors/ObjectTreeGraphConfig.h | |
bool IsConnectable
(
FObjectProperty* InObjectProperty |
Returns whether the given object reference property is connectable. | Editors/ObjectTreeGraphConfig.h | |
bool IsConnectable
(
FArrayProperty* InArrayProperty |
Returns whether the given object array property is connectable. | Editors/ObjectTreeGraphConfig.h |