Action to replace a node with a new node of a different type. The new node keeps the old node's slot in its parent, all children move over, portable properties (matched by name + type) transfer, and the persistent UUID is preserved so Timeline bindings and node-graph refs remain resolvable.
More...
#include <ActionManager.h>
Action to replace a node with a new node of a different type. The new node keeps the old node's slot in its parent, all children move over, portable properties (matched by name + type) transfer, and the persistent UUID is preserved so Timeline bindings and node-graph refs remain resolvable.
◆ ActionReplaceNodeType()
| ActionReplaceNodeType::ActionReplaceNodeType |
( |
Node * |
oldNode, |
|
|
TypeId |
newType |
|
) |
| |
◆ DECLARE_ACTION_INTERFACE()
| ActionReplaceNodeType::DECLARE_ACTION_INTERFACE |
( |
ReplaceNodeType |
| ) |
|
◆ mChildIndex
| int32_t ActionReplaceNodeType::mChildIndex = -1 |
|
protected |
◆ mFirstExecute
| bool ActionReplaceNodeType::mFirstExecute = true |
|
protected |
◆ mMovedChildren
| std::vector<NodePtr> ActionReplaceNodeType::mMovedChildren |
|
protected |
◆ mNewNode
| NodePtr ActionReplaceNodeType::mNewNode |
|
protected |
◆ mNewType
| TypeId ActionReplaceNodeType::mNewType |
|
protected |
◆ mOldNode
| NodePtr ActionReplaceNodeType::mOldNode |
|
protected |
◆ mParent
| NodePtr ActionReplaceNodeType::mParent |
|
protected |
◆ mSavedUuid
| uint64_t ActionReplaceNodeType::mSavedUuid = 0 |
|
protected |
The documentation for this class was generated from the following file: