Click or drag to resize

DeleteSelectionEdit Class

Allow undo/redo for deleting a selection.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsDocumentEdit
    Demo3D.VisualsDocumentVisualsEdit
      Demo3D.VisualsCreateEdit
        Demo3D.VisualsDeleteSelectionEdit

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class DeleteSelectionEdit : CreateEdit

The DeleteSelectionEdit type exposes the following members.

Constructors
  NameDescription
Public methodDeleteSelectionEdit
Constructor.
Top
Properties
  NameDescription
Public propertyDocument
The document that contains the edit.
(Inherited from DocumentEdit.)
Public propertyIds
The Ids of the affected visuals.
(Inherited from DocumentVisualsEdit.)
Public propertyReferencedScriptKeys
List of keys to scripts that were used by the deleted visuals.
Top
Methods
  NameDescription
Public methodFindVisuals
Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit.)
Public methodRedo
Redoes the delete operation, deleting the selected visuals from the document.
(Overrides CreateEditRedo.)
Public methodSetVisuals
Set the list of affected visuals.
(Inherited from DocumentVisualsEdit.)
Public methodToString
String representation which describes the visuals that were deleted.
(Overrides CreateEditToString.)
Public methodUndo
Undoes the delete operation, restoring the visual and all connections.
(Overrides CreateEditUndo.)
Protected methodVisualsToString
Returns a string representation of the affected visuals for display purposes.
(Inherited from DocumentVisualsEdit.)
Top
See Also