Uranium
Application Framework
Loading...
Searching...
No Matches
UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation Class Reference
Inheritance diagram for UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation:
UM.Operations.Operation.Operation

Public Member Functions

None __init__ (self, SceneNode node)
 
None undo (self)
 
None redo (self)
 
- Public Member Functions inherited from UM.Operations.Operation.Operation
 mergeWith (self, other)
 
None push (self)
 

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__()

None UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.__init__ ( self,
SceneNode node )
Initialises the RemoveSceneNodeOperation.

:param node: The node to remove.

Reimplemented from UM.Operations.Operation.Operation.

Member Function Documentation

◆ redo()

None UM.Operations.RemoveSceneNodeOperation.RemoveSceneNodeOperation.redo ( self)
Redo the operation, removing the node again.

Reimplemented from UM.Operations.Operation.Operation.

◆ undo()

None 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: