DDraceNetwork Docs
CEditorActionAddEnvelopePoint Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorActionAddEnvelopePoint:
[legend]
Collaboration diagram for CEditorActionAddEnvelopePoint:
[legend]

Public Member Functions

 CEditorActionAddEnvelopePoint (CEditor *pEditor, int EnvIndex, int Time, ColorRGBA Channels)
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Attributes

int m_EnvIndex
 
int m_Time
 
ColorRGBA m_Channels
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorActionAddEnvelopePoint()

CEditorActionAddEnvelopePoint::CEditorActionAddEnvelopePoint ( CEditor pEditor,
int  EnvIndex,
int  Time,
ColorRGBA  Channels 
)

Member Function Documentation

◆ Redo()

void CEditorActionAddEnvelopePoint::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionAddEnvelopePoint::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Channels

ColorRGBA CEditorActionAddEnvelopePoint::m_Channels
private

◆ m_EnvIndex

int CEditorActionAddEnvelopePoint::m_EnvIndex
private

◆ m_Time

int CEditorActionAddEnvelopePoint::m_Time
private

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