#include <addressable_light_effect.h>
Definition at line 287 of file addressable_light_effect.h.
◆ AddressableFireworksEffect()
esphome::light::AddressableFireworksEffect::AddressableFireworksEffect |
( |
const std::string & |
name | ) |
|
|
inlineexplicit |
◆ apply()
void esphome::light::AddressableFireworksEffect::apply |
( |
AddressableLight & |
it, |
|
|
const Color & |
current_color |
|
) |
| |
|
inlineoverridevirtual |
◆ set_fade_out_rate()
void esphome::light::AddressableFireworksEffect::set_fade_out_rate |
( |
uint8_t |
fade_out_rate | ) |
|
|
inline |
◆ set_spark_probability()
void esphome::light::AddressableFireworksEffect::set_spark_probability |
( |
float |
spark_probability | ) |
|
|
inline |
◆ set_update_interval()
void esphome::light::AddressableFireworksEffect::set_update_interval |
( |
uint32_t |
update_interval | ) |
|
|
inline |
◆ set_use_random_color()
void esphome::light::AddressableFireworksEffect::set_use_random_color |
( |
bool |
random_color | ) |
|
|
inline |
◆ start()
void esphome::light::AddressableFireworksEffect::start |
( |
| ) |
|
|
inlineoverridevirtual |
◆ fade_out_rate_
uint8_t esphome::light::AddressableFireworksEffect::fade_out_rate_ {} |
|
protected |
◆ last_update_
uint32_t esphome::light::AddressableFireworksEffect::last_update_ {0} |
|
protected |
◆ spark_probability_
float esphome::light::AddressableFireworksEffect::spark_probability_ {} |
|
protected |
◆ update_interval_
uint32_t esphome::light::AddressableFireworksEffect::update_interval_ {} |
|
protected |
◆ use_random_color_
bool esphome::light::AddressableFireworksEffect::use_random_color_ {} |
|
protected |
The documentation for this class was generated from the following file: