Click or drag to resize

MatrixEdit Class

Record the changes to a set of visuals matrices for undo/redo. Also remember the initial matrices so joints can reset correctly.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsDocumentEdit
    Demo3D.VisualsDocumentVisualsEdit
      Demo3D.VisualsMatrixEdit
        Demo3D.VisualsMoveEdit

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

The MatrixEdit type exposes the following members.

Constructors
 NameDescription
Public methodMatrixEdit Initializes a new instance of the MatrixEdit 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
Protected methodStatic memberCopyMatrices Creates a copy of the matrix list.
Public methodFindVisuals Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit)
Protected methodMatrixToString Creates a string representation of the matrix transformation for display purposes.
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 methodToString Returns a string representation of this matrix edit.
(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 fieldendWorldMatrix 
Top
See Also