mirror of
https://github.com/Makuna/NeoPixelBus.git
synced 2025-08-09 22:04:27 +02:00
Updated NeoPixelAnimator object API (markdown)
@@ -53,8 +53,11 @@ Resume all animations. This will unfreeze the animations from where Pause() was
|
|||||||
## bool IsPaused()
|
## bool IsPaused()
|
||||||
Return if the animations are paused. The Pause() method is called to pause and Resume() is called to resume.
|
Return if the animations are paused. The Pause() method is called to pause and Resume() is called to resume.
|
||||||
|
|
||||||
## uint16_t TimeScale()
|
## uint16_t getTimeScale()
|
||||||
Return the current time scale that was passed in at construction time. You can't modify the time scale once the animator is created.
|
Return the current time scale.
|
||||||
|
|
||||||
|
## void setTimeScale(uint16_t timeScale)
|
||||||
|
Set the current time scale. All currently running animations will be effected by this change, either slowing them down or speeding them up.
|
||||||
|
|
||||||
# Structs
|
# Structs
|
||||||
## AnimationParam
|
## AnimationParam
|
||||||
|
Reference in New Issue
Block a user