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.
Default: 0.0, 0.0
Manipulated by HudSetPoint.
Whether to draw in 2D or 3D mode.
Default: 2D mode.
Manipulated by:
Current X and Y scale of the message to draw.
Default: 1.0, 1.0
Manipulated by:
Whether to use HudMessage or HudMessageBold.
Default: false
(use HudMessage)
Manipulated by HudSetShowToEveryone.
Duration of fade-in animation. 0 disables fade-in animation and makes the message appear instantly.
Default: 0.0
Manipulated by HudSetAppearTime.
For how long the message stays after the end of fade-in and before the beginning fade-out.
Default: HUD_STAYTIME_FOREVER
.
Manipulated by HudSetStayTime.
Duration of fade-out animation. 0 disables fade-out animation and makes the message disappear instantly.
Default: 0.0
Manipulated by HudSetDisappearTime.
Which blend style to use for the message. Can be one of the following:
Default: HUD_BLENDSTYLE_NORMAL
(makes messages with alpha = 1.0 opaque).
Manipulated by HudSetBlendStyle.
These settings apply only to HudDrawText, not to HudDrawImage.
Whether to enable word wrap when the message goes off the right edge of the screen.
Default: false
Manipulated by HudSetWordWrap.
These settings apply to 3D drawing only.
The 3D position of the camera.
Default: 0.0, 0.0, 0.0
Manipulated by:
The direction of the camera.
Default: along the world X axis.
Manipulated by:
3D projection mode to convert 3D coordinates to 2D. Can be one of the following:
Default: HUD_PROJECTION_AUTO
Manipulated by HudSetProjectionMode.
Whether to multiply the scale of the message by a factor to make it change size with distance.
Default: true
Manipulated by HudSetAutoDistanceScale.