Navigation
API > API/Plugins > API/Plugins/GameplayGraph > API/Plugins/GameplayGraph/Graph
Inheritance Hierarchy
- FGraphHandle
- FGraphEdgeHandle
- FGraphIslandHandle
- FGraphVertexHandle
References
| Module | GameplayGraph |
| Header | /Engine/Plugins/Experimental/GameplayGraph/Source/GameplayGraph/Public/Graph/GraphHandle.h |
| Include | #include "Graph/GraphHandle.h" |
Syntax
USTRUCT&40;&41;
struct FGraphHandle
Remarks
For persistence, every node in a graph is given a unique index. A FGraphHandle encapsulates that index to make it easy to go from the index to the node and vice versa.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FGraphHandle () |
|||
FGraphHandle
(
int64 InUniqueIndex, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear () |
||
| TObjectPtr< UGraphElement > | GetElement () |
||
| int64 | |||
| bool | HasElement () |
||
| bool | IsComplete () |
||
| bool | IsValid () |
Whether or not this handle has been initialized. | |
| void | SetElement
(
TObjectPtr< UGraphElement > InElement |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FGraphHandle& Other |
||
| bool | operator<
(
const FGraphHandle& Other |
||
| bool | operator==
(
const FGraphHandle& Other |