This is an old revision of the document!
HUD library state can be reset to default using HudResetState.
These settings apply to 2D drawing only.
The current 2D point in the HUD coordinate system to draw the message at.
Manipulated by HudSetPoint.
Whether to draw in 2D or 3D mode.
Default: 2D mode.
Current X and Y scale of the message to draw.
false (use HudMessage)
Manipulated by HudSetShowToEveryone.
Duration of fade-in animation. 0 disables fade-in animation and makes the message appear instantly.
Manipulated by HudSetAppearTime.
For how long the message stays after the end of fade-in and before the beginning fade-out.
Manipulated by HudSetStayTime.
Duration of fade-out animation. 0 disables fade-out animation and makes the message disappear instantly.
Manipulated by HudSetDisappearTime.
Which blend style to use for the message. Can be one of the following:
HUD_BLENDSTYLE_NORMAL (makes messages with alpha = 1.0 opaque).
Manipulated by HudSetBlendStyle.
The alpha (opaqueness) of the message.
Manipulated by HudSetAlpha.
Whether to enable word wrap when the message goes off the right edge of the screen.
Manipulated by HudSetWordWrap.
These settings apply to 3D drawing only.
The current 3D point to draw the message at.
0.0, 0.0, 0.0
Manipulated by HudSetPoint3D.
The 3D position of the camera that views the 3D points.
0.0, 0.0, 0.0
The direction of the camera that views the 3D points.
Default: along the world X axis.
A 2D offset to shift the message on screen by.
Manipulated by HudSet2DOffset.
3D projection mode to convert 3D coordinates to 2D. Can be one of the following:
Manipulated by HudSetProjectionMode.
Whether to multiply the scale of the message by a factor to make it change size with distance.
Manipulated by HudSetAutoDistanceScale.