![]() |
DDNet documentation
|
#include <envelope.h>
Classes | |
| class | CEnvelopePointAccess |
Public Types | |
| enum class | EType { POSITION , COLOR , SOUND } |
Public Member Functions | |
| CEnvelope (EType Type) | |
| CEnvelope (int NumChannels) | |
| std::pair< float, float > | GetValueRange (int ChannelMask) |
| void | Eval (float Time, ColorRGBA &Result, size_t Channels) const |
| void | AddPoint (CFixedTime Time, std::array< int, CEnvPoint::MAX_CHANNELS > aValues) |
| float | EndTime () const |
| int | FindPointIndex (CFixedTime Time) const |
| int | GetChannels () const |
| EType | Type () const |
Public Attributes | |
| std::vector< CEnvPoint_runtime > | m_vPoints |
| char | m_aName [32] = "" |
| bool | m_Synchronized = true |
Private Member Functions | |
| void | Resort () |
Private Attributes | |
| EType | m_Type |
| CEnvelopePointAccess | m_PointsAccess |
|
strong |
|
explicit |
|
explicit |
| void CEnvelope::AddPoint | ( | CFixedTime | Time, |
| std::array< int, CEnvPoint::MAX_CHANNELS > | aValues ) |
| float CEnvelope::EndTime | ( | ) | const |
| void CEnvelope::Eval | ( | float | Time, |
| ColorRGBA & | Result, | ||
| size_t | Channels ) const |
| int CEnvelope::FindPointIndex | ( | CFixedTime | Time | ) | const |
| int CEnvelope::GetChannels | ( | ) | const |
| std::pair< float, float > CEnvelope::GetValueRange | ( | int | ChannelMask | ) |
|
private |
|
inline |
| char CEnvelope::m_aName[32] = "" |
|
private |
| bool CEnvelope::m_Synchronized = true |
|
private |
| std::vector<CEnvPoint_runtime> CEnvelope::m_vPoints |