clearQueue( )
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
clearQueue(): this;
Clears anything pending in the queue.
Example
Section titled “Example”//Add elements to the queue using the enqueue function present in both state and timelinesymbol.controllers.mycontroller.elements.mystate.enqueue();symbol.controllers.mycontroller.elements.mytimeline.enqueue();
//Clear the elements added to the queuesymbol.controllers.mycontroller.clearQueue();
Returns
Section titled “Returns”this