1.0.6 • Published 4 years ago

@cmgl/pixi-projection2d v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

@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-projection2d

Use

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