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
None __init__ (self)
 mergeWith (self, other)
None push (self)

Protected Attributes

 _node = node
 _parent = node.getParent()
Protected Attributes inherited from UM.Operations.Operation.Operation
 _timestamp = time.time()
bool _always_merge = False

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.

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:
  • UM/Operations/RemoveSceneNodeOperation.py