|
wavelength 1.0.0
|
The look of one bar of a track waiting to be applied to its panel, either once the track is no longer captured or by a reveal that sweeps the panel along the bar. More...
#include <gfxtunnelpanel.h>
Public Member Functions | |
| GfxTunnelPanel (GfxTunnel *pTunnel, int nTrack, const GfxTunnel::BarData *pBar, const Color *pColor) | |
| Copy the look of a bar and resolve the state of its panel. | |
| void | SetDeferred (int bDeferred, float flRevealTick) |
| Choose whether the panel waits for its track, and the tick its reveal starts at. | |
| void | ResolveState () |
| Choose the transparency, the pickability, and the checkpoint material from the flags, the owner, and the song mapping of the bar. | |
| void | Apply () |
| Give the panel its state, and in a remix the checkpoint material of the bar of track 0. | |
| void | Refresh () |
| Finish a running reveal at once. | |
| bool | Update (GfxTunnel *pTunnel, float flTick) |
| Advance the panel. | |
The look of one bar of a track waiting to be applied to its panel, either once the track is no longer captured or by a reveal that sweeps the panel along the bar.
The RTTI identifies the class, an element of the list of panels of the tunnel. The class is not polymorphic, and the object is 0x3c bytes.
| GfxTunnelPanel::GfxTunnelPanel | ( | GfxTunnel * | pTunnel, |
| int | nTrack, | ||
| const GfxTunnel::BarData * | pBar, | ||
| const Color * | pColor ) |
Copy the look of a bar and resolve the state of its panel.
| pTunnel | The tunnel. |
| nTrack | The track. |
| pBar | The bar. |
| pColor | The colour of the panel. |
| void GfxTunnelPanel::SetDeferred | ( | int | bDeferred, |
| float | flRevealTick ) |
Choose whether the panel waits for its track, and the tick its reveal starts at.
| bDeferred | Whether the panel waits until its track is no longer captured. |
| flRevealTick | The tick the reveal starts at. |
| void GfxTunnelPanel::ResolveState | ( | ) |
Choose the transparency, the pickability, and the checkpoint material from the flags, the owner, and the song mapping of the bar.
| void GfxTunnelPanel::Apply | ( | ) |
Give the panel its state, and in a remix the checkpoint material of the bar of track 0.
| void GfxTunnelPanel::Refresh | ( | ) |
Finish a running reveal at once.
| bool GfxTunnelPanel::Update | ( | GfxTunnel * | pTunnel, |
| float | flTick ) |
Advance the panel.
| pTunnel | The tunnel, which reports whether the track is captured. |
| flTick | The tick of the song. |