Uranium
Application Framework
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

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

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.

Parameters
nodeThe 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: