Function GraphNode.SerializeReferences
SerializeReferences
(GraphSerializationContext ctx)
Used to serialize references to other nodes e.g connections.
Public
void SerializeReferences (
ctx |
Used to serialize references to other nodes e.g connections.
Use the GraphSerializationContext.GetNodeIdentifier and GraphSerializationContext.GetNodeFromIdentifier methods for serialization and deserialization respectively.
Nodes must override this method and serialize their connections. Graph generators do not need to call this method, it will be called automatically on all nodes at the correct time by the serializer.