Vixen
02b45cc4
csharp
public readonly record struct GizmoEdit

What a finished drag turned into: the entry that undoes it, and the history it belongs on.

Read the guide page for this →

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)

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