StructureData
public struct StructureData
Payload for RegionGraphChangeEvent.structureChanged
event.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Creates an instance of
StructureData
Declaration
Swift
public init(graph: RegionGraph, nodeStates: [RegionGraphNodeID : RegionGraphNodeState])
Parameters
graph
Graph of regions representing the map structure
nodeStates
Collection of new region graph node states.
-
New map structure.
Declaration
Swift
public let graph: RegionGraph
-
Collection of new region graph node states.
Declaration
Swift
public let nodeStates: [RegionGraphNodeID : RegionGraphNodeState]