csharp
public readonly record struct NodeIdA node's identity within one graph.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Never reused, so an undo that re-adds a deleted node re-adds it with the identity it had — which is what lets the edges that pointed at it be restored by the same command without rewriting them.
Fields and properties (3)
public int ValueThe number. Assigned by the graph and never reused.
public static NodeId NoneNo node.
public bool IsValidWhether this names a node at all.
Methods (2)
public NodeId(int Value)A node's identity within one graph.
public override string ToString()Returns the fully qualified type name of this instance.
Used by (39)
- AddGroupCommandVixen.Editor.NodeGraph
- CommandTestsVixen.Editor.NodeGraph.Tests
- CompositorDocumentVixen.Editor.AssetEditors
- CompositorGraphCompilerVixen.Editor.AssetEditors
- CompositorViewVixen.Editor.AssetEditors
- ExtractSubGraphCommandVixen.Editor.NodeGraph
- FlattenerVixen.Editor.NodeGraph
- GraphConformanceTestsVixen.Editor.NodeGraph.Tests
- GraphGroupVixen.Editor.NodeGraph
- GraphNodeVixen.Editor.NodeGraph
- GraphPairVixen.Editor.NodeGraph.Tests
- MoveNodesCommandVixen.Editor.NodeGraph
- NodeDiagnosticVixen.Editor.NodeGraph
- NodeGraphClipboardVixen.Editor.NodeGraph
- NodeGraphCompilerVixen.Editor.NodeGraph
- NodeGraphDocumentVixen.Editor.NodeGraph
- NodeGraphLayoutVixen.Editor.NodeGraph
- NodeGraphModelVixen.Editor.NodeGraph
- NodeGraphViewVixen.Editor.NodeGraph
- NodeInspectorVixen.Editor.NodeGraph
- NodeTypingTestsVixen.Editor.NodeGraph.Tests
- PasteCommandVixen.Editor.NodeGraph
- PortRefVixen.Editor.NodeGraph
- PortValueTestsVixen.Editor.NodeGraph.Tests
- RecorderVixen.Editor.NodeGraph.Tests
- RecordingVixen.Editor.NodeGraph.Tests
- RemoveNodesCommandVixen.Editor.NodeGraph
- SetPortTextCommandVixen.Editor.NodeGraph
- SetPortValueCommandVixen.Editor.NodeGraph
- ShaderGraphCompilerVixen.Editor.ShaderGraph
- ShaderGraphDocumentVixen.Editor.AssetEditors
- SocketVixen.Editor.NodeGraph
- SubGraphExtractionVixen.Editor.NodeGraph
- SubGraphsVixen.Editor.NodeGraph
- VfxDocumentVixen.Editor.AssetEditors
- VfxGraphCompilerVixen.Editor.VfxGraph
- VfxGraphCompilerTestsVixen.Editor.VfxGraph.Tests
- ViewFixtureVixen.Editor.NodeGraph.Tests
- ViewTestsVixen.Editor.NodeGraph.Tests