This is an old revision of the document!
HUD Library
Pipeline
If text message:
Compute text-only flags (TextTypeOn, LogMessage, TextColorIsString, TextWordWrap)
Call
SetFont with current font (
Font)
If image message:
-
Abort if scale is 0
If 3D HudMessage:
Rotate target point to camera space (Camera, Point3D)
Abort if point is behind the camera
Project the point on screen
Compute scale factor from distance if this setting is enabled (AutoDistanceScale)
Call
SetHudSize to implement scaling (
VirtualSize,
Scale)
Compute flags:
Compute visibilty flags (ShowIn3DView, ShowOnFullAutomap, ShowOnOverlayAutomap)
Compute blending flags (BlendStyle, Alpha)
Compute alignment flags (Alignment)
-