Click or drag to resize

MultiVisualPropertyEdit Class

Represents an undoable edit operation that modifies a specific property across multiple Visual objects within a Document.

This class stores the property path and the old and new values for each affected visual, enabling property changes to be undone and redone as a single operation.

Inheritance Hierarchy
SystemObject
  Demo3D.VisualsDocumentEdit
    Demo3D.VisualsDocumentVisualsEdit
      Demo3D.VisualsMultiVisualPropertyEdit
        Demo3D.VisualsSinglePropertyEdit

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class MultiVisualPropertyEdit : DocumentVisualsEdit

The MultiVisualPropertyEdit type exposes the following members.

Constructors
 NameDescription
Public methodMultiVisualPropertyEdit Initializes a new instance of the MultiVisualPropertyEdit class.
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)
Top
Methods
 NameDescription
Public methodFindVisuals Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit)
Public methodRedo Executed when redo is called on this edit from the UndoManager
(Overrides DocumentEditRedo)
Public methodSetVisuals Set the list of affected visuals.
(Inherited from DocumentVisualsEdit)
Public methodToStringReturns a string that represents the current object.
(Overrides ObjectToString)
Public methodUndo Executed when undo is called on this edit from the UndoManager
(Overrides DocumentEditUndo)
Protected methodVisualsToString Returns a string representation of the affected visuals for display purposes.
(Inherited from DocumentVisualsEdit)
Top
Fields
 NameDescription
Protected fieldnewValues The list of new property values for each visual after the edit.
Protected fieldoldValues The list of original property values for each visual before the edit.
Protected fieldpath The property path to be modified on each visual.
Top
See Also