Vixen
dd8b0a81
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 (94, showing 40)

  • AddFoliageTypeCommandVixen.Editor.Terrain
  • AddLayerCommandVixen.Editor.Texturing
  • AddTargetCommandVixen.Editor.AssetEditors
  • AppliedEditVixen.Editor.Core
  • ApplySmartMaterialCommandVixen.Editor.Texturing
  • 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
  • EntityGizmoTargetVixen.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
  • InstantiateSubtreeCommandVixen.Editor.SceneView
  • LayerPropertyCommandVixen.Editor.Terrain
  • ListElementMemberVixen.Editor.Inspector
  • MaterialCommandVixen.Editor.SceneView
  • MaterialGraphLinkCommandVixen.Editor.AssetEditors
  • MaterialGraphValueCommandVixen.Editor.AssetEditors
  • MaterialParameterCommandVixen.Editor.AssetEditors
  • MoveLayerCommandVixen.Editor.Terrain
  • MoveLayerCommandVixen.Editor.Texturing
  • MoveNodesCommandVixen.Editor.NodeGraph
  • NodeGraphCommandVixen.Editor.NodeGraph
  • NodeGraphViewVixen.Editor.NodeGraph
  • NodePortMemberVixen.Editor.NodeGraph
  • NodePortProviderTestsVixen.Editor.NodeGraph.Tests
  • NodeSettingMemberVixen.Editor.NodeGraph