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