Return one named modifier from a parsed image path.
import { imageModifier, parseImagePath } from '@datamoc/mw_games/two-d/render';const flip = imageModifier(parseImagePath('hero.png~FL(horizontal)'), 'FL'); Copy
import { imageModifier, parseImagePath } from '@datamoc/mw_games/two-d/render';const flip = imageModifier(parseImagePath('hero.png~FL(horizontal)'), 'FL');
Return one named modifier from a parsed image path.