|
resonance 1.0.1
|
Letterbox bars of the head-up display. More...
#include <hudletterbox.h>
Public Member Functions | |
| HudLetterbox () | |
| Resolve the view, hide it, and set the ramp's range. | |
| void | SetFrame (float flTime) |
| Advance the ramp, pose the view on its value, and show the view unless the value is 0. | |
| void | SetTarget (float flTarget) |
| Start the bars moving toward a raw ramp position. | |
| void | Jump (float flTarget) |
| Move the bars to a raw ramp position at once. | |
Letterbox bars of the head-up display.
The class is not polymorphic and emits no RTTI. No descriptor, tag, or file path identifies it, and its name is inferred from the one object it resolves. The head-up display panel embeds one at +0x118.
The bars are one view whose animation a ramp drives from frame 0 to frame 100 over 480 units of time. The view shows only while the ramp is off frame 0.
| HudLetterbox::HudLetterbox | ( | ) |
Resolve the view, hide it, and set the ramp's range.
| void HudLetterbox::SetFrame | ( | float | flTime | ) |
Advance the ramp, pose the view on its value, and show the view unless the value is 0.
The head-up display panel inlines the body, and this copy has no caller.
| flTime | The time the ramp runs against. |
| void HudLetterbox::SetTarget | ( | float | flTarget | ) |
Start the bars moving toward a raw ramp position.
The out-of-line copy has no caller. The title is inferred.
| flTarget | The raw target, 0 for no bars and 1 for full bars. |
| void HudLetterbox::Jump | ( | float | flTarget | ) |
Move the bars to a raw ramp position at once.
The out-of-line copy has no caller. The title is inferred.
| flTarget | The raw target. |