DDNet documentation
Loading...
Searching...
No Matches
CMapEnvelopeEvaluator Class Reference

#include <envelope_evaluator.h>

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

Public Member Functions

 CMapEnvelopeEvaluator (CEditorMap *pMap)
void EnvelopeEval (int TimeOffsetMillis, int EnvelopeIndex, ColorRGBA &Result, size_t Channels) override
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
virtual void OnAttach (CEditorMap *pMap)
const CEditorEditor () const
CEditorEditor ()
const CEditorMapMap () const
CEditorMapMap ()
const IGraphicsGraphics () const
IGraphicsGraphics ()
const ISoundSound () const
ISoundSound ()
const IStorageStorage () const
IStorageStorage ()
const ITextRenderTextRender () const
ITextRenderTextRender ()
Public Member Functions inherited from IEnvelopeEval
virtual ~IEnvelopeEval ()=default

Public Attributes

bool m_Animate = false
float m_AnimateStart = 0.0f
float m_AnimateTime = 0.0f
float m_AnimateSpeed = 1.0f
bool m_AnimateUpdatePopup = false
Public Attributes inherited from CMapObject
float m_aLayerOffset [2]
bool m_UseClipping
float m_aaClipArea [2][2]
float m_aSpeed [2]
float m_aaScreenOffset [2][2]
float m_aaBaseArea [2][2]
float m_aaExtendedArea [2][2]

Additional Inherited Members

Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}

Constructor & Destructor Documentation

◆ CMapEnvelopeEvaluator()

CMapEnvelopeEvaluator::CMapEnvelopeEvaluator ( CEditorMap * pMap)
explicit

Member Function Documentation

◆ EnvelopeEval()

void CMapEnvelopeEvaluator::EnvelopeEval ( int TimeOffsetMillis,
int EnvelopeIndex,
ColorRGBA & Result,
size_t Channels )
overridevirtual

Implements IEnvelopeEval.

Member Data Documentation

◆ m_Animate

bool CMapEnvelopeEvaluator::m_Animate = false

◆ m_AnimateSpeed

float CMapEnvelopeEvaluator::m_AnimateSpeed = 1.0f

◆ m_AnimateStart

float CMapEnvelopeEvaluator::m_AnimateStart = 0.0f

◆ m_AnimateTime

float CMapEnvelopeEvaluator::m_AnimateTime = 0.0f

◆ m_AnimateUpdatePopup

bool CMapEnvelopeEvaluator::m_AnimateUpdatePopup = false

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