new:hud_library
HUD Library
Pipeline
-
If text message: call SetFont with current font
If image message: call SetFont with the chosen image
If 3D HudMessage:
Project target point onto the screen
Compute scale factor from distance if AutoDistanceScale
is enabled
Call
SetHudSize to scale the message, taking
VirtualSize
and
Scale
into account
-
Settings
General settings:
Text-only settings:
Font – HudSetFont(str fontname)
Text color – HudSetTextColor(int color)
or HudSetTextColorString(str colorname)
Type-on mode – HudSetTextTypeOn(bool enabled)
new/hud_library.txt · Last modified: 2018/02/20 18:16 by korshun