direct.leveleditor.ActionMgr

from direct.leveleditor.ActionMgr import ActionAddNewObj, ActionBase, ActionChangeHierarchy, ActionDeleteObj, ActionDeleteObjById, ActionDeselectAll, ActionMgr, ActionSelectObj, ActionTransformObj, ActionUpdateObjectProp

Inheritance diagram

Inheritance diagram of direct.leveleditor.ActionMgr

class ActionAddNewObj(editor, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for adding new object

__init__(self, editor, *args, **kargs)[source]
postCall(self)[source]
redo(self)[source]
undo(self)[source]
class ActionBase(function, *args, **kargs)[source]

Bases: direct.showbase.PythonUtil.Functor

Base class for user actions

__init__(self, function, *args, **kargs)[source]
postCall(self)[source]
redo(self)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionChangeHierarchy(editor, oldGrandParentId, oldParentId, newParentId, childName, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for changing Scene Graph Hierarchy

__init__(self, editor, oldGrandParentId, oldParentId, newParentId, childName, *args, **kargs)[source]
undo(self)[source]
class ActionDeleteObj(editor, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for deleting object

__init__(self, editor, *args, **kargs)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionDeleteObjById(editor, uid)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for deleting object

__init__(self, editor, uid)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionDeselectAll(editor, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for adding new object

__init__(self, editor, *args, **kargs)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionMgr[source]

Bases: object

__init__(self)[source]
push(self, action)[source]
redo(self)[source]
reset(self)[source]
undo(self)[source]
class ActionSelectObj(editor, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for adding new object

__init__(self, editor, *args, **kargs)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionTransformObj(editor, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for object transformation

__init__(self, editor, *args, **kargs)[source]
saveStatus(self)[source]
undo(self)[source]
class ActionUpdateObjectProp(editor, fSelectObject, obj, propName, val, oldVal, function, undoFunc, *args, **kargs)[source]

Bases: direct.leveleditor.ActionMgr.ActionBase

Action class for updating object property

__init__(self, editor, fSelectObject, obj, propName, val, oldVal, function, undoFunc, *args, **kargs)[source]
redo(self)[source]
saveStatus(self)[source]
undo(self)[source]