Vixen
02b45cc4
csharp
public interface IEditorCommand

One reversible change to something the editor edits.

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

Remarks

Undo is a command stack, not a snapshot diff. Snapshots are simpler and they cannot represent "renamed this asset, which updated four hundred references" as one step, because the four hundred documents were never opened. A command can: it is the operation, so it knows what it touched.

Everything the editor edits goes through this one vocabulary, which is what makes undo/redo, dirty tracking and the remote inspector work uniformly rather than once per feature. A drawer that mutates a value behind the stack's back is the bug this interface exists to make obvious.

Fields and properties (1)

  • string Name

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

Methods (3)

Used by (62, showing 40)

  • AddFoliageTypeCommandVixen.Editor.Terrain
  • AddTargetCommandVixen.Editor.AssetEditors
  • AssignTargetCommandVixen.Editor.Terrain
  • BooleanCommandVixen.Editor.SceneView
  • CollapseLayerCommandVixen.Editor.Terrain
  • CommandStackVixen.Editor.Core
  • CompositeCommandVixen.Editor.Core
  • CreateEntityCommandVixen.Editor.SceneView
  • DelegateCommandVixen.Editor.Core
  • DestroyEntitiesCommandVixen.Editor.SceneView
  • EditMeshCommandVixen.Editor.SceneView
  • FoliageEditVixen.Editor.Terrain
  • FoliageModeVixen.Editor.Terrain
  • FoliageModeTestsVixen.Editor.Terrain.Tests
  • FoliageMoveCommandVixen.Editor.Terrain
  • FoliageStrokeCommandVixen.Editor.Terrain
  • GizmoEditVixen.Editor.SceneView
  • IEditMemberVixen.Editor.Core
  • InsertLayerCommandVixen.Editor.Terrain
  • InspectorMemberVixen.Editor.Inspector
  • InspectorMemberVixen.Editor.Inspector
  • LayerPropertyCommandVixen.Editor.Terrain
  • ListElementMemberVixen.Editor.Inspector
  • MaterialCommandVixen.Editor.SceneView
  • MaterialParameterCommandVixen.Editor.AssetEditors
  • MoveLayerCommandVixen.Editor.Terrain
  • MoveNodesCommandVixen.Editor.NodeGraph
  • NodeGraphCommandVixen.Editor.NodeGraph
  • NodeGraphViewVixen.Editor.NodeGraph
  • OneEditPathTestsVixen.Editor.App.Tests
  • ProxyShapeDocumentVixen.Editor.AssetEditors
  • ReflectedMemberVixen.Editor.Inspector
  • RemoveLayerCommandVixen.Editor.Terrain
  • RemoveTargetCommandVixen.Editor.AssetEditors
  • RenameEntityCommandVixen.Editor.SceneView
  • ReparentCommandVixen.Editor.SceneView
  • ReplaceLayerCommandVixen.Editor.Terrain
  • SculptSessionTestsVixen.Editor.Terrain.Tests
  • SetComponentCommandVixen.Editor.SceneView
  • SetMembersCommandVixen.Editor.Inspector