Vixen
02b45cc4
csharp
public sealed class DisconnectCommand

Taking the wire off an input.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (1)

  • public override string Name

    What this is called in the undo history, as a person would say it.

Methods (3)

  • public DisconnectCommand(NodeGraphModel graph, PortRef to, EditorDocument? document = null)

    Describes removing a connection.

  • protected override void Apply()

    Makes the change. Called once on execute and again on every redo.

  • protected override void Revert()

    Puts back exactly what Apply changed.

Used by (1)

  • NodeGraphViewVixen.Editor.NodeGraph