Navigation
API > API/Plugins > API/Plugins/GameplayGraph
| Name | UGraphIsland |
| Type | class |
| Header File | /Engine/Plugins/Experimental/GameplayGraph/Source/GameplayGraph/Public/Graph/GraphIsland.h |
| Include Path | #include "Graph/GraphIsland.h" |
Syntax
UCLASS (MinimalAPI)
class UGraphIsland : public UGraphElement
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UGraphElement → UGraphIsland
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGraphIsland() |
Graph/GraphIsland.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnConnectivityChanged | FOnGraphIslandConnectedComponentsChanged | Graph/GraphIsland.h | ||
| OnDestroyed | FOnGraphIslandDestroyed | Graph/GraphIsland.h | ||
| OnVertexAdded | FOnGraphIslandVertexAdded | Graph/GraphIsland.h | ||
| OnVertexRemoved | FOnGraphIslandVertexRemoved | Graph/GraphIsland.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllowedOperations | EGraphIslandOperations | Graph/GraphIsland.h |
|
|
| Vertices | TSet< FGraphVertexHandle > | Graph/GraphIsland.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddVertex
(
const FGraphVertexHandle& Node |
Adds a single node into this island. | Graph/GraphIsland.h | |
virtual void ChangeVertexHandle
(
const FGraphVertexHandle& OldVertexHandle, |
Changes a node handle. The vertex must exist. | Graph/GraphIsland.h | |
void ForEachVertex
(
TLambda&& Lambda |
Graph/GraphIsland.h | ||
const TSet< FGraphVertexHandle > & GetVertices() |
Graph/GraphIsland.h | ||
FGraphIslandHandle Handle() |
Graph/GraphIsland.h | ||
bool IsEmpty() |
Graph/GraphIsland.h | ||
bool IsOperationAllowed
(
EGraphIslandOperations Op |
Graph/GraphIsland.h | ||
int32 Num() |
Graph/GraphIsland.h | ||
void RemoveVertex
(
const FGraphVertexHandle& Node |
Removes a node from the island. | Graph/GraphIsland.h | |
void SetOperationAllowed
(
EGraphIslandOperations Op, |
Graph/GraphIsland.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Destroy() |
Called when removing the island from the graph. | Graph/GraphIsland.h | |
virtual void HandleOnConnectivityChanged
(
EGraphIslandConnectivityChange Change |
Graph/GraphIsland.h | ||
virtual void HandleOnDestroyed() |
Graph/GraphIsland.h | ||
virtual void HandleOnVertexAdded
(
const FGraphVertexHandle& Handle |
Graph/GraphIsland.h | ||
virtual void HandleOnVertexRemoved
(
const FGraphVertexHandle& Handle |
Graph/GraphIsland.h |