Class AddPin
Represents a node editor command that can be used to add a pin to a pin collection.
public class AddPin : INodeEditorCommand
- Inheritance
-
objectAddPin
- Implements
Constructors
AddPin(IPinCollection)
Creates a new instance of the AddPin class.
public AddPin(IPinCollection pinCollection)
Parameters
pinCollectionIPinCollectionThe pin collection to add the pin to.
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()