VizKit
3.3.7
|
The Beatlight shows a moving point indicating beat impulses. More...
#include <Beatlight.h>
Public Member Functions | |
Beatlight () | |
The constructor of the Beatlight action. | |
void | showBeatlight (const bool audioIsPlaying) |
Shows the Beatlight. | |
void | showBeatMeterLight (const bool audioIsPlaying) |
Shows the BeatMeterLight. | |
void | reshape (void) |
Calculates the screen position of the beatlight action. | |
void | applyBehavior (void) |
By applying a fade out anmation, the behavior reflects the beat detection. | |
Private Attributes | |
VisualAsset | beatlightAsset |
The asset of the beatlight action (contains texture and position, too). | |
VisualItemIdentifier | vertexChainId |
Identifier of the vertex chain (the vertices used for display of the beatlight texture). |
The Beatlight shows a moving point indicating beat impulses.
The constructor of the Beatlight action.
void Beatlight::applyBehavior | ( | void | ) |
By applying a fade out anmation, the behavior reflects the beat detection.
void Beatlight::reshape | ( | void | ) |
Calculates the screen position of the beatlight action.
void Beatlight::showBeatlight | ( | const bool | audioIsPlaying | ) |
Shows the Beatlight.
audioIsPlaying | True if audio is playing, false if not. |
void Beatlight::showBeatMeterLight | ( | const bool | audioIsPlaying | ) |
Shows the BeatMeterLight.
audioIsPlaying | True if audio is playing, false if not. |
VisualAsset VizKit::Beatlight::beatlightAsset [private] |
The asset of the beatlight action (contains texture and position, too).
Identifier of the vertex chain (the vertices used for display of the beatlight texture).