Nuclide
Software Development Kit for id Tech
|
Definition of a text channel. More...
#include <text.h>
Public Attributes | |
string | m_strMessage |
the message contents. More... | |
float | m_flPosX |
Normalized starting position on the X-axis. More... | |
float | m_flPosY |
Normalized starting position on the X-axis. More... | |
int | m_iEffect |
Effect to use when rendering the text. More... | |
vector | m_vecColor1 |
Primary text color. More... | |
vector | m_vecColor2 |
Secondary text color for use with effects. More... | |
float | m_flFadeIn |
Time in seconds it takes for the text to fade in. More... | |
float | m_flFadeOut |
Time in seconds it takes for the text to fade out. More... | |
float | m_flHoldTime |
Time in seconds on which we'll hold onto the text. More... | |
float | m_flFXTime |
Time in seconds that it takes for the effect to finish. More... | |
float | m_flTime |
The time that's passed on the active channel. More... | |
Definition of a text channel.
A text channel is a special type of text string that is commonly defined within the titles.txt file of a game. Common use cases are chapter titles and message with a special type of fade in/out rendering effect on them.
float hudText_t::m_flFadeIn |
Time in seconds it takes for the text to fade in.
float hudText_t::m_flFadeOut |
Time in seconds it takes for the text to fade out.
float hudText_t::m_flFXTime |
Time in seconds that it takes for the effect to finish.
float hudText_t::m_flHoldTime |
Time in seconds on which we'll hold onto the text.
float hudText_t::m_flPosX |
Normalized starting position on the X-axis.
-1 is center.
float hudText_t::m_flPosY |
Normalized starting position on the X-axis.
-1 is center.
float hudText_t::m_flTime |
The time that's passed on the active channel.
int hudText_t::m_iEffect |
Effect to use when rendering the text.
string hudText_t::m_strMessage |
the message contents.
vector hudText_t::m_vecColor1 |
Primary text color.
vector hudText_t::m_vecColor2 |
Secondary text color for use with effects.