![]() |
Nuclide
Software Development Kit for id Technology (BETA)
|
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.
Public Attributes | |
| string | m_strMessage |
| the message contents. | |
| float | m_flPosX |
| Normalized starting position on the X-axis. | |
| float | m_flPosY |
| Normalized starting position on the X-axis. | |
| int | m_iEffect |
| Effect to use when rendering the text. | |
| vector | m_vecColor1 |
| Primary text color. | |
| vector | m_vecColor2 |
| Secondary text color for use with effects. | |
| float | m_flFadeIn |
| Time in seconds it takes for the text to fade in. | |
| float | m_flFadeOut |
| Time in seconds it takes for the text to fade out. | |
| float | m_flHoldTime |
| Time in seconds on which we'll hold onto the text. | |
| float | m_flFXTime |
| Time in seconds that it takes for the effect to finish. | |
| float | m_flTime |
| The time that's passed on the active channel. | |
| 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.