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

#include <Beatlight.h>

List of all members.

Public Member Functions

 Beatlight ()
void showBeatlight (const bool audioIsPlaying)
void showBeatMeterLight (const bool audioIsPlaying)
void reshape (void)
void applyBehavior (void)

Private Attributes

VisualAsset beatlightAsset
VisualItemIdentifier vertexChainId

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 Mar 25 2012 14:27:43 for VizKit by doxygen 1.8.0