onStart method

void onStart()

This method is called once when the effect is about to start, but before the first call to apply(). The notion of "about to start" is defined by the controller: this method is called when controller.started property first becomes true.

If the effect is reset, its onStart() method will be called again when the effect is about to start.

Implementation

void onStart() {}