Class DeleteObjectCommand
Delete a sketch object.
Inheritance
System.Object
DeleteObjectCommand
Implements
Namespace: VRSketchingGeometry.Commands
Assembly: VRSketchingGeometry.dll
Syntax
public class DeleteObjectCommand : ICommand
Remarks
Original author: tterpi
Constructors
DeleteObjectCommand(SelectableObject, SketchWorld)
Declaration
public DeleteObjectCommand(SelectableObject objectToDelete, SketchWorld sketchWorld)
Parameters
| Type | Name | Description |
|---|---|---|
| SelectableObject | objectToDelete | |
| SketchWorld | sketchWorld |
Methods
Execute()
Declaration
public bool Execute()
Returns
| Type | Description |
|---|---|
| System.Boolean |
Redo()
Declaration
public void Redo()
Undo()
Declaration
public void Undo()