Navigation
API > API/Plugins > API/Plugins/GameplayGraph
| Name | UGraphVertex |
| Type | class |
| Header File | /Engine/Plugins/Experimental/GameplayGraph/Source/GameplayGraph/Public/Graph/GraphVertex.h |
| Include Path | #include "Graph/GraphVertex.h" |
Syntax
UCLASS (MinimalAPI)
class UGraphVertex : public UGraphElement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGraphElement → UGraphVertex
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGraphVertex() |
Graph/GraphVertex.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnParentIslandSet | FOnGraphVertexParentIslandSet | Graph/GraphVertex.h | ||
| OnVertexRemoved | FOnGraphVertexRemoved | Graph/GraphVertex.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Edges | TSet< FGraphVertexHandle > | Graph/GraphVertex.h | ||
| ParentIsland | FGraphIslandHandle | Graph/GraphVertex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ChangeEdgeVertexHandle
(
const FGraphVertexHandle& OldVertexHandle, |
Changes an edge vertex handle. The vertex must exist. | Graph/GraphVertex.h | |
void ForEachAdjacentVertex
(
TLambda&& Lambda |
Graph/GraphVertex.h | ||
const TSet< FGraphVertexHandle > & GetEdges() |
Graph/GraphVertex.h | ||
const FGraphIslandHandle & GetParentIsland() |
Graph/GraphVertex.h | ||
FGraphVertexHandle Handle() |
Graph/GraphVertex.h | ||
bool HasEdgeTo
(
const FGraphVertexHandle& Other |
Graph/GraphVertex.h | ||
int32 NumEdges() |
Graph/GraphVertex.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddEdgeTo
(
const FGraphVertexHandle& Node |
Graph/GraphVertex.h | ||
virtual void HandleOnVertexRemoved() |
Graph/GraphVertex.h | ||
void RemoveEdge
(
const FGraphVertexHandle& AdjacentVertexHandle |
Graph/GraphVertex.h | ||
void SetParentIsland
(
const FGraphIslandHandle& Island |
Graph/GraphVertex.h |