VizKit  3.3.7
Public Member Functions | Private Attributes
VizKit::Beatlight Class Reference

The Beatlight shows a moving point indicating beat impulses. More...

#include <Beatlight.h>

List of all members.

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).

Detailed Description

The Beatlight shows a moving point indicating beat impulses.


Constructor & Destructor Documentation

The constructor of the Beatlight action.


Member Function Documentation

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.

Parameters:
audioIsPlayingTrue if audio is playing, false if not.
void Beatlight::showBeatMeterLight ( const bool  audioIsPlaying)

Shows the BeatMeterLight.

Parameters:
audioIsPlayingTrue if audio is playing, false if not.

Member Data Documentation

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).


The documentation for this class was generated from the following files:

Generated on Sun May 3 2015 20:26:31 for VizKit by doxygen 1.8.0