@cmgl/pixi-projection2d
v1.0.6
Published
Rewrite 2d part of pixi-projection in ES module.
Readme
@cmgl/pixi-projection2d is modified from the 2d-projection part in pixi-projection to support ESM module.
Setup
@cmgl/pixi-projection2d is only avaliable in ESM environment. You can install with command
npm install @cmgl/pixi-projection2dUse
import { Renderer } from 'pixi.js'
import { registerProjection, Sprite2d } from '@cmgl/pixi-projection2d'
// You must register first before use Projection2d
registerProjection(Renderer)
const sprite = new Sprite2d()
// ...Get more detail from pixi-projection
