DDraceNetwork Documentation
Loading...
Searching...
No Matches
CNamePlatePartIcon Class Reference
Inheritance diagram for CNamePlatePartIcon:
[legend]
Collaboration diagram for CNamePlatePartIcon:
[legend]

Public Member Functions

void Render (CGameClient &This, vec2 Pos) const override
 
- Public Member Functions inherited from CNamePlatePart
virtual void Update (CGameClient &This, const CNamePlateData &Data)
 
virtual void Reset (CGameClient &This)
 
vec2 Size () const
 
vec2 Padding () const
 
bool NewLine () const
 
bool Visible () const
 
bool ShiftOnInvis () const
 
 CNamePlatePart ()=delete
 
virtual ~CNamePlatePart ()=default
 

Protected Member Functions

 CNamePlatePartIcon (CGameClient &This)
 
- Protected Member Functions inherited from CNamePlatePart
 CNamePlatePart (CGameClient &This)
 

Protected Attributes

IGraphics::CTextureHandle m_Texture
 
float m_Rotation = 0.0f
 
ColorRGBA m_Color = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f)
 
- Protected Attributes inherited from CNamePlatePart
vec2 m_Size = vec2(0.0f, 0.0f)
 
vec2 m_Padding = vec2(DEFAULT_PADDING, DEFAULT_PADDING)
 
bool m_NewLine = false
 
bool m_Visible = true
 
bool m_ShiftOnInvis = false
 

Constructor & Destructor Documentation

◆ CNamePlatePartIcon()

CNamePlatePartIcon::CNamePlatePartIcon ( CGameClient This)
inlineprotected

Member Function Documentation

◆ Render()

void CNamePlatePartIcon::Render ( CGameClient This,
vec2  Pos 
) const
inlineoverridevirtual

Reimplemented from CNamePlatePart.

Member Data Documentation

◆ m_Color

ColorRGBA CNamePlatePartIcon::m_Color = ColorRGBA(1.0f, 1.0f, 1.0f, 1.0f)
protected

◆ m_Rotation

float CNamePlatePartIcon::m_Rotation = 0.0f
protected

◆ m_Texture

IGraphics::CTextureHandle CNamePlatePartIcon::m_Texture
protected

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