InOutHelper


Project maintained by profezzorn Hosted on GitHub Pages — Theme by mattgraham

Usage 🔗

InOutHelper<BASE, OUT_MILLIS, IN_MILLIS>
InOutHelper<BASE, OUT_MILLIS, IN_MILLIS, OFF_COLOR>

Arguments 🔗

Description 🔗

This class does a basic extend/retract. Basically it fades between BASE and OFF_COLOR (which defaults to black). It starts by just displaying OFF_COLOR, and when you turn the saber on it starts mixing in BASE at the base of the saber. After OUT_MILLIS milliseconds, it will be displaying the BASE color on the entire blade.

See Also 🔗

InOutHelperX, InOutTr, AlphaL, Layers, Ifon, InOutFunc

Source Link 🔗

https://github.com/profezzorn/ProffieOS/blob/6f8add544c627172ad2dd698c90e5e55078a420a/styles/inout_helper.h#L25