FastLED 3.9.7
Loading...
Searching...
No Matches
fl::Fire2012 Class Reference

Detailed Description

Definition at line 49 of file fire2012.hpp.

+ Inheritance diagram for fl::Fire2012:

Public Member Functions

 Fire2012 (uint16_t num_leds, uint8_t cooling=55, uint8_t sparking=120, bool reverse_direction=false, const CRGBPalette16 &palette=HeatColors_p)
 
void draw (DrawContext context) override
 
fl::Str fxName () const override
 
- Public Member Functions inherited from fl::Fx1d
 Fx1d (uint16_t numLeds)
 
void setXmap (const XMap &xMap)
 
uint16_t xyMap (uint16_t x) const
 
- Public Member Functions inherited from fl::Fx
 Fx (uint16_t numLeds)
 
virtual bool hasFixedFrameRate (float *fps) const
 
virtual void pause (uint32_t now)
 
virtual void resume (uint32_t now)
 
uint16_t getNumLeds () const
 
- Public Member Functions inherited from fl::Referent
virtual int ref_count () const
 

Additional Inherited Members

- Public Types inherited from fl::Fx
using DrawContext = _DrawContext
 
- Protected Member Functions inherited from fl::Referent
 Referent (const Referent &)
 
Referentoperator= (const Referent &)
 
 Referent (Referent &&)
 
Referentoperator= (Referent &&)
 
virtual void ref ()
 
virtual void unref ()
 
virtual void destroy ()
 
- Protected Attributes inherited from fl::Fx1d
XMap mXMap
 
- Protected Attributes inherited from fl::Fx
uint16_t mNumLeds
 

Constructor & Destructor Documentation

◆ Fire2012()

fl::Fire2012::Fire2012 ( uint16_t num_leds,
uint8_t cooling = 55,
uint8_t sparking = 120,
bool reverse_direction = false,
const CRGBPalette16 & palette = HeatColors_p )
inline

Definition at line 51 of file fire2012.hpp.

◆ ~Fire2012()

fl::Fire2012::~Fire2012 ( )
inline

Definition at line 59 of file fire2012.hpp.

Member Function Documentation

◆ draw()

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

Implements fl::Fx.

Definition at line 61 of file fire2012.hpp.

◆ fxName()

fl::Str fl::Fire2012::fxName ( ) const
inlineoverridevirtual

Implements fl::Fx.

Definition at line 100 of file fire2012.hpp.


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