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.
CUndoTrackObject Class Reference

#include <UiAnimViewUndo.h>

Inherits CUndoAnimKeySelection.

Public Member Functions

 CUndoTrackObject (CUiAnimViewTrack *pTrack, bool bStoreKeySelection=true)
 
- Public Member Functions inherited from CUndoAnimKeySelection
 CUndoAnimKeySelection (CUiAnimViewSequence *pSequence)
 
bool IsSelectionChanged () const
 
- 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 CUndoAnimKeySelection
 CUndoAnimKeySelection (CUiAnimViewTrack *pTrack)
 
std::vector< bool > SaveKeyStates (CUiAnimViewSequence *pSequence) const
 
void RestoreKeyStates (CUiAnimViewSequence *pSequence, const std::vector< bool > keyStates)
 

Additional Inherited Members

- Protected Attributes inherited from CUndoAnimKeySelection
CUiAnimViewSequencem_pSequence
 
std::vector< bool > m_undoKeyStates
 
std::vector< bool > m_redoKeyStates
 

Detailed Description

Undo object stored when track is modified.

Member Function Documentation

◆ Undo()

virtual void CUndoTrackObject::Undo ( bool  bUndo)
overrideprotectedvirtual

Undo this object.

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

Reimplemented from CUndoAnimKeySelection.


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