Jump to content


PixiPlugin.registerPIXI( ) ;


PixiPlugin needs some reference to the PIXI library object (usually PIXI), which it looks for in the global scope (window in most cases). However in a build system or ES module environment you might not have a global scope that has a reference to your PIXI object. That’s where this method is useful. You can simply pass in that reference using this method like:

  1. PixiPlugin.registerPIXI(PIXI);
Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.