Parameters for text output to the HUD.
Type: Value type
| Declaration | Description |
|---|---|
| void HUDTextParams() | Constructor |
| void HUDTextParams(const HUDTextParams& in other) | Copy constructor |
| HUDTextParams& opAssign(const HUDTextParams& in other) | Assignment operator |
| Declaration | Description |
|---|---|
| float x | Horizontal position on the screen. <0, 1.0> = left to right (-1.0, 0) = right to left -1.0 = centered |
| float y | Vertical position on the screen. <0, 1.0> = top to bottom (-1.0, 0) = bottom to top -1.0 = centered |
| int effect | Effects. 0 : Fade In/Out 1 : Credits 2 : Scan Out |
| uint8 r1 | Red 1 |
| uint8 g1 | Green 1 |
| uint8 b1 | Blue 1 |
| uint8 a1 | Alpha 1 |
| uint8 r2 | Red 2 |
| uint8 g2 | Green 2 |
| uint8 b2 | Blue 2 |
| uint8 a2 | Alpha 2 |
| float fadeinTime | Fade in time |
| float fadeoutTime | Fade out time |
| float holdTime | Hold time |
| float fxTime | Effect time (scan effect only) |
| int channel | Channel. 1-4. |