Additions:
- Sequencer - Added support for the Effect Manager to be able to manipulate effects on other scenes, which means you can now end effects on other scenes than the one you're on via the API
- Effects - Added
.mask(), which can now clip-mask effects to only show them within tokens, templates, tiles, or drawings - this supports the Walled Templates module! - Effects - Added vision masking - now token vision affects how much of an effect they can see
- Effects - Added
.xray()which can be used to turn off vision masking on individual effects - Effects - Added support in the Sequencer Database for internal effect loops, see the documentation for more information
- Effects - Added
edgeoption to.attachTo(), which can be set toinner,on, orouterto align the effect on the attached object's edge when used withalign - Effects - Added
.screenSpaceAboveUI(), which causes.screenSpace()effects to play above all UI elements in Foundry (use with caution)
Fixes:
- Sequencer - As
SequencerDatabasewas deprecated in 2.0.0 in favor ofSequencer.Database, the former has now been removed - Sequencer - Adjusted Database methods with more validation so that searching with empty strings won't throw hard to read errors
- Sequencer - Removed bogus Effect Player warning about permissions that no longer reflects what Sequencer does
- Sequencer - Fixed some issues when copying and playing effects through the Database Viewer
- Effects - Fixed
alignon.attachTo()not working as expected when an effect's scale or size was set - Effects - Fixed blur filter not taking given properties into account
- Effects - The following functions now have loud deprecation warnings:
.addPostOverride().reachTowards().gridSize().startPoint().endPoint()
- Effects - Deprecated
.randomOffset()in favor of addingrandomOffsetas a secondary argument on.atLocation(),.stretchTo(),.rotateTowards(), and.attachTo()