|
Polyphase Game Engine
|
Action to create a new parent node and reparent selected nodes under it. More...
#include <ActionManager.h>
Public Member Functions | |
| DECLARE_ACTION_INTERFACE (ParentSelectedWith) | |
| ActionParentSelectedWith (const std::vector< Node * > &nodes, TypeId newParentType, ArrayOrientation arrayOrientation=ArrayOrientation::Vertical) | |
Public Member Functions inherited from Action | |
| virtual | ~Action () |
| virtual void | Execute () |
| virtual void | Reverse () |
| virtual const char * | GetName ()=0 |
Protected Attributes | |
| std::vector< NodePtr > | mNodes |
| std::vector< NodePtr > | mPrevParents |
| std::vector< int32_t > | mPrevChildIndices |
| std::vector< int32_t > | mPrevBoneIndices |
| NodePtr | mCreatedParent |
| NodePtr | mCreatedParentParent |
| int32_t | mCreatedParentChildIndex = -1 |
| TypeId | mNewParentType |
| ArrayOrientation | mArrayOrientation = ArrayOrientation::Vertical |
| bool | mFirstExecute = true |
Action to create a new parent node and reparent selected nodes under it.
| ActionParentSelectedWith::ActionParentSelectedWith | ( | const std::vector< Node * > & | nodes, |
| TypeId | newParentType, | ||
| ArrayOrientation | arrayOrientation = ArrayOrientation::Vertical |
||
| ) |
| ActionParentSelectedWith::DECLARE_ACTION_INTERFACE | ( | ParentSelectedWith | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |