Open 3D Engine LyShine Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
CUndoAnimNodeReparent Class Reference

#include <UiAnimViewUndo.h>

Inherits CAbstractUndoAnimNodeTransaction.

Public Member Functions

 CUndoAnimNodeReparent (CUiAnimViewAnimNode *pAnimNode, CUiAnimViewAnimNode *pNewParent)
 
- Public Member Functions inherited from CAbstractUndoAnimNodeTransaction
 CAbstractUndoAnimNodeTransaction (CUiAnimViewAnimNode *pNode)
 
- Public Member Functions inherited from UiAnimUndoObject
virtual void Release ()
 Called to delete undo object.
 
virtual const char * GetObjectName ()
 
virtual bool IsChanged ([[maybe_unused]] unsigned int &compareValue) const
 

Protected Member Functions

virtual int GetSize () override
 Return size of this Undo object.
 
virtual const char * GetDescription () override
 Return description of this Undo object.
 
virtual void Undo (bool bUndo) override
 
virtual void Redo () override
 Redo undone changes on object.
 
- Protected Member Functions inherited from CAbstractUndoAnimNodeTransaction
void AddNode ()
 
void RemoveNode (bool bAquireOwnership)
 

Additional Inherited Members

- Protected Attributes inherited from CAbstractUndoAnimNodeTransaction
CUiAnimViewAnimNodem_pParentNode
 
CUiAnimViewAnimNodem_pNode
 
std::unique_ptr< CUiAnimViewNodem_pStoredUiAnimViewNode
 

Detailed Description

Undo for re-parenting an anim node

Member Function Documentation

◆ Undo()

virtual void CUndoAnimNodeReparent::Undo ( bool  bUndo)
overrideprotectedvirtual

Undo this object.

Parameters
bUndoIf true this operation called in response to Undo operation.

Implements UiAnimUndoObject.


The documentation for this class was generated from the following file: