This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hud_library [2017/04/18 16:22] – korshun | hud_library [2017/07/09 14:26] (current) – korshun | ||
---|---|---|---|
Line 10: | Line 10: | ||
</ | </ | ||
- | The only drawing functions in HUD Library are [[functions: | + | The only drawing functions in HUD Library are [[functions: |
===== Scaling ===== | ===== Scaling ===== | ||
- | Scaling is implemented by calling SetHudSize with values that don't match those set in [[functions: | + | Scaling is implemented by calling |
For example: | For example: | ||
Line 40: | Line 40: | ||
HudResetState(); | HudResetState(); | ||
HudSetPoint3D(x, | HudSetPoint3D(x, | ||
- | HudSetCameraActor(0); | + | HudSetCameraActor(0); |
HudDrawText(1, | HudDrawText(1, | ||
</ | </ | ||
Line 48: | Line 48: | ||
By default, 3D messages are automatically scaled with distance. You can disable this setting using [[functions: | By default, 3D messages are automatically scaled with distance. You can disable this setting using [[functions: | ||
+ | ===== State operations ===== | ||
+ | The whole [[HUD Library state]] can be reset to default using [[functions: |