|
resonance 1.0.1
|
Analog stick prompt of the head-up display. More...
#include <hudanalogstick.h>
Public Member Functions | |
| HudAnalogStick () | |
| Resolve the prompt's mesh and both materials, and hide the prompt. | |
| void | SetMotion (const HxStr &motion) |
| Put the material for one stick motion on the prompt. | |
| void | SetShowing (int nShowing) |
| Show or hide the prompt. | |
Analog stick prompt 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 analog_stick objects it resolves. The head-up display panel embeds one at +0x104.
The prompt is one mesh that shows one of two materials, the in-and-out stick or the up-and-down stick.
| HudAnalogStick::HudAnalogStick | ( | ) |
Resolve the prompt's mesh and both materials, and hide the prompt.
| void HudAnalogStick::SetMotion | ( | const HxStr & | motion | ) |
Put the material for one stick motion on the prompt.
in_out selects HUD in_out_stick.mat and up_down selects HUD up_down_stick.mat. Any other text changes nothing. The stick-material script command calls it. The title is inferred.
| motion | The motion. |
| void HudAnalogStick::SetShowing | ( | int | nShowing | ) |
Show or hide the prompt.
The constructor is the one caller. The title is inferred.
| nShowing | Non-zero to show. |