![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ColoringGraph.h>
Public Member Functions | |
| int32 | GetNumIslands () const |
| int32 | GetVertexIsland (int32 VertexIndex) const |
| int32 | GetVertexIslandSize (int32 VertexIndex) const |
| int32 | GetVertexLevel (int32 VertexIndex) const |
| void | SetVertexLevel (int32 VertexIndex, int32 Level) |
| int32 | GetVertexColor (int32 VertexIndex) const |
| void | ReserveVertices (int32 InNumVertices) |
| void | ReserveEdges (int32 InNumEdges) |
| int32 | AddVertex () |
| int32 | AddVertices (int32 InNumVertices) |
| int32 | AddEdge (int32 VertexIndex0, int32 VertexIndex1) |
| void | Islandize () |
| void | Levelize () |
| void | Colorize () |
A graph used by the constraints system. Supports
|
inline |
| void Chaos::FColoringGraph::Colorize | ( | ) |
Assign a color to all vertices. Vertices of the same color do not share any edges (i.e., are not directly connected).
|
inline |
| void Chaos::FColoringGraph::Islandize | ( | ) |
Assign each vertex to an island. Vertcies in different islands are isolated from each other - thee is no path which connectes them.
| void Chaos::FColoringGraph::Levelize | ( | ) |
Assign a "level" to all vertices. Level is the distance from a Vertex with Level = 0 (Level 0 vertices are specified by the user with SetVertexLevel)