#include <addressable_light_effect.h>
Definition at line 196 of file addressable_light_effect.h.
◆ AddressableTwinkleEffect()
esphome::light::AddressableTwinkleEffect::AddressableTwinkleEffect |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ apply()
void esphome::light::AddressableTwinkleEffect::apply |
( |
AddressableLight & |
addressable, |
|
|
const Color & |
current_color |
|
) |
| |
|
inlineoverridevirtual |
◆ set_progress_interval()
void esphome::light::AddressableTwinkleEffect::set_progress_interval |
( |
uint32_t |
progress_interval | ) |
|
|
inline |
◆ set_twinkle_probability()
void esphome::light::AddressableTwinkleEffect::set_twinkle_probability |
( |
float |
twinkle_probability | ) |
|
|
inline |
◆ last_progress_
uint32_t esphome::light::AddressableTwinkleEffect::last_progress_ {0} |
|
protected |
◆ progress_interval_
uint32_t esphome::light::AddressableTwinkleEffect::progress_interval_ {4} |
|
protected |
◆ twinkle_probability_
float esphome::light::AddressableTwinkleEffect::twinkle_probability_ {0.05f} |
|
protected |
The documentation for this class was generated from the following file: