csharp
public readonly record struct GizmoEditWhat a finished drag turned into: the entry that undoes it, and the history it belongs on.
Remarks
⚠ The stack comes from the target, which is the whole point. A proxy shape belongs to a shape set and its edit belongs on that set's history, not on whichever scene happened to be showing it; an entity belongs to the viewport's document. A null stack is the case where something is being previewed rather than edited — the drag still happened, and there is nothing to take it back with.
Fields and properties (2)
public IEditorCommand CommandThe entry.
public CommandStack? StackWhere it goes, or when nothing is recording.
Methods (1)
public GizmoEdit(IEditorCommand Command, CommandStack? Stack)What a finished drag turned into: the entry that undoes it, and the history it belongs on.
Used by (6)
- EntityGizmoTargetVixen.Editor.SceneView
- IGizmoTargetVixen.Editor.SceneView
- MeshGizmoTargetVixen.Editor.SceneView
- ProxyShapeGizmoTargetVixen.Editor.AssetEditors
- SceneViewportVixen.Editor.SceneView
- StubTargetVixen.Editor.SceneView.Tests