public RenderingGraphSurface(IVisjectSurfaceOwner owner, Action onSave, FlaxEditor.Undo undo = null, SurfaceStyle style = null) : base(owner, onSave, undo, style, GetGroupArchetypes()) { }
/// <summary> /// Creates new undo object for recording actions with using pattern. /// </summary> /// <param name="undo">The undo/redo object.</param> /// <param name="snapshotInstance">Instance of an object to record.</param> /// <param name="actionString">Name of action to be displayed in undo stack.</param> public UndoBlock(Undo undo, object snapshotInstance, string actionString) { SnapshotUndoInternal = snapshotInstance; Undo = undo; Undo.RecordBegin(SnapshotUndoInternal, actionString); }