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

#include <UiAnimViewUndo.h>

Inherits UiAnimUndoObject.

Inherited by CUndoTrackObject.

Public Member Functions

 CUndoAnimKeySelection (CUiAnimViewSequence *pSequence)
 
bool IsSelectionChanged () const
 
- Public Member Functions inherited from UiAnimUndoObject
virtual void Release ()
 Called to delete undo object.
 
virtual int GetSize ()=0
 Return size of this Undo object.
 
virtual const char * GetDescription ()=0
 Return description of this Undo object.
 
virtual void Undo (bool bUndo=true)=0
 
virtual void Redo ()=0
 Redo undone changes on object.
 
virtual const char * GetObjectName ()
 
virtual bool IsChanged (unsigned int &compareValue) const
 

Protected Member Functions

 CUndoAnimKeySelection (CUiAnimViewTrack *pTrack)
 
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.
 
std::vector< bool > SaveKeyStates (CUiAnimViewSequence *pSequence) const
 
void RestoreKeyStates (CUiAnimViewSequence *pSequence, const std::vector< bool > keyStates)
 

Protected Attributes

CUiAnimViewSequencem_pSequence
 
std::vector< bool > m_undoKeyStates
 
std::vector< bool > m_redoKeyStates
 

Friends

class CUndoTrackObject
 

Detailed Description

Undo object stored when keys were selected

Member Function Documentation

◆ GetDescription()

virtual const char * CUndoAnimKeySelection::GetDescription ( )
inlineoverrideprotectedvirtual

Return description of this Undo object.

Implements UiAnimUndoObject.

Reimplemented in CUndoTrackObject.

◆ GetSize()

virtual int CUndoAnimKeySelection::GetSize ( )
inlineoverrideprotectedvirtual

Return size of this Undo object.

Implements UiAnimUndoObject.

Reimplemented in CUndoTrackObject.

◆ Redo()

virtual void CUndoAnimKeySelection::Redo ( )
overrideprotectedvirtual

Redo undone changes on object.

Implements UiAnimUndoObject.

Reimplemented in CUndoTrackObject.

◆ Undo()

virtual void CUndoAnimKeySelection::Undo ( bool  bUndo)
overrideprotectedvirtual

Undo this object.

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

Implements UiAnimUndoObject.

Reimplemented in CUndoTrackObject.


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