|
A* Pathfinding Project
4.3.6
The A* Pathfinding Project for Unity 3D
|
Holds a bitmask of graphs. More...
Holds a bitmask of graphs.
This bitmask can hold up to 32 graphs.
The bitmask can be converted to and from integers implicitly.
Public Member Functions | |
| GraphMask (int value) | |
| bool | Contains (int graphIndex) |
| True if this mask contains the graph with the given graph index. More... | |
| override string | ToString () |
Static Public Member Functions | |
| static GraphMask | FromGraph (NavGraph graph) |
| A bitmask containing the given graph. More... | |
| static GraphMask | FromGraphName (string graphName) |
| A bitmask containing the first graph with the given name. More... | |
| static implicit | operator GraphMask (int mask) |
| static implicit | operator int (GraphMask mask) |
| static GraphMask | operator& (GraphMask lhs, GraphMask rhs) |
| Combines two masks to form the intersection between them. More... | |
| static GraphMask | operator| (GraphMask lhs, GraphMask rhs) |
| Combines two masks to form the union of them. More... | |
| static GraphMask | operator~ (GraphMask lhs) |
| Inverts the mask. More... | |
Public Attributes | |
| int | value |
| Bitmask representing the mask. More... | |
Properties | |
| static GraphMask | everything [get] |
| A mask containing every graph. More... | |
| GraphMask | ( | int | value | ) |
| bool Contains | ( | int | graphIndex | ) |
True if this mask contains the graph with the given graph index.
|
static |
A bitmask containing the first graph with the given name.
|
static |
|
static |
Combines two masks to form the intersection between them.
Combines two masks to form the union of them.
| override string ToString | ( | ) |
| int value |
Bitmask representing the mask.
|
staticget |
A mask containing every graph.