Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation Class Reference

An operation that removes a SceneNode from the scene. More...

Inheritance diagram for UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation:
UM.Operations.Operation.Operation

Public Member Functions

 __init__ (self, node)
 Initialises the RemoveSceneNodeOperation.
 
 undo (self)
 Undoes the operation, putting the node back in the scene.
 
 redo (self)
 Redo the operation, removing the node again.
 
- Public Member Functions inherited from UM.Operations.Operation.Operation
 __init__ (self)
 
 undo (self)
 Undo the operation.
 
 redo (self)
 Redo the operation.
 
 mergeWith (self, other)
 Perform operation merging.
 
 push (self)
 Push the operation onto the stack.
 

Protected Attributes

 _node
 
 _parent
 
- Protected Attributes inherited from UM.Operations.Operation.Operation
 _timestamp
 
 _always_merge
 

Detailed Description

An operation that removes a SceneNode from the scene.

Constructor & Destructor Documentation

◆ __init__()

UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.__init__ (   self,
  node 
)

Initialises the RemoveSceneNodeOperation.

Parameters
nodeThe node to remove.

Reimplemented from UM.Operations.Operation.Operation.

Member Function Documentation

◆ redo()

UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.redo (   self)

Redo the operation, removing the node again.

Reimplemented from UM.Operations.Operation.Operation.

◆ undo()

UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.undo (   self)

Undoes the operation, putting the node back in the scene.

Reimplemented from UM.Operations.Operation.Operation.


The documentation for this class was generated from the following file: