FastLED 3.9.3
Loading...
Searching...
No Matches
VideoFx Class Reference

Detailed Description

Definition at line 50 of file video.h.

+ Inheritance diagram for VideoFx:

Public Member Functions

 VideoFx (Video video, XYMap xymap)
 
void draw (DrawContext context) override
 
const char * fxName (int) const override
 
- Public Member Functions inherited from FxGrid
 FxGrid (const XYMap &xyMap)
 
uint16_t xyMap (uint16_t x, uint16_t y) const
 
uint16_t getHeight () const
 
uint16_t getWidth () const
 
void setXYMap (const XYMap &xyMap)
 
XYMapgetXYMap ()
 
const XYMapgetXYMap () const
 
- Public Member Functions inherited from Fx
 Fx (uint16_t numLeds)
 
virtual bool hasAlphaChannel () const
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual int fxNum () const
 
virtual void fxSet (int fx)
 
virtual void fxNext (int fx=1)
 
virtual int fxGet () const
 
virtual void pause ()
 
virtual void resume ()
 
virtual void destroy ()
 
virtual void lazyInit ()
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from Referent
virtual int ref_count () const
 

Additional Inherited Members

- Public Types inherited from Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
- Protected Attributes inherited from FxGrid
XYMap mXyMap
 
- Protected Attributes inherited from Fx
uint16_t mNumLeds
 

Constructor & Destructor Documentation

◆ VideoFx()

VideoFx::VideoFx ( Video video,
XYMap xymap )

Definition at line 232 of file video.cpp.

Member Function Documentation

◆ draw()

void VideoFx::draw ( DrawContext context)
overridevirtual
Parameters
nowThe current time in milliseconds. Fx writers are encouraged to use this instead of millis() directly as this will more deterministic behavior.

Implements Fx.

Definition at line 234 of file video.cpp.

◆ fxName()

const char * VideoFx::fxName ( int ) const
overridevirtual

Implements Fx.

Definition at line 263 of file video.cpp.


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