public void DeleteSceneObject()
    {
        DeleteSceneObjectEventArgs args = new DeleteSceneObjectEventArgs();

        args.model = model;
        OnDeleteSceneObject(this, args);
    }
Example #2
0
 public void DeleteSelectionModel(object sender, DeleteSceneObjectEventArgs e)
 {
     model.ObjectsInScene.Remove(e.model);
 }