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

def __init__ (self, node)
 Initialises the RemoveSceneNodeOperation. More...
 
def undo (self)
 Undoes the operation, putting the node back in the scene. More...
 
def 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__()

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

Initialises the RemoveSceneNodeOperation.

Parameters
nodeThe node to remove.

Member Function Documentation

◆ redo()

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

Redo the operation, removing the node again.

Reimplemented from UM.Operations.Operation.Operation.

◆ undo()

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