resonance 1.0.1
Loading...
Searching...
No Matches
hudanalogstick.h
Go to the documentation of this file.
1#pragma once
2
3class HxStr;
4
5namespace Rnd {
6class Mat;
7class Mesh;
8} // namespace Rnd
9
21public:
29
41 void SetMotion(const HxStr &motion);
42
52 void SetShowing(int nShowing);
53
54private:
55 Rnd::Mesh *mMesh; // `HUD1 analog_stick.mesh`
56 Rnd::Mat *mInOutMat; // `HUD in_out_stick.mat`
57 Rnd::Mat *mUpDownMat; // `HUD up_down_stick.mat`
58};
HudAnalogStick()
Resolve the prompt's mesh and both materials, and hide the prompt.
void SetShowing(int nShowing)
Show or hide the prompt.
void SetMotion(const HxStr &motion)
Put the material for one stick motion on the prompt.
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Indexed triangle mesh with one material.
Definition mesh.h:46
The rendering engine.
Definition animhelper.h:3