vue3-pixi-projection
Vue 3 Pixi Projection
Vue for PixiJS Projection based on vue3-pixi
Try it Online
TODO
Install
pnpm install vue3-pixi-projection
Usage
using vue3-pixi-projection requires loading the module before using vue3-pixi
import { renderer } from 'vue3-pixi'
import ProjectionRenderer from 'vue3-pixi-projection'
renderer.use(ProjectionRenderer)
in template use camera-3d and sprite-3d components:
<template>
<camera-3d
:focus="400"
:near="10"
:far="10000"
:orthographic="false"
>
<sprite-3d
texture="https://pixijs.io/examples/examples/assets/bunny.png"
:anchor="0.5"
:width="100"
:position-3d-z="100"
:height="140"
/>
</camera-3d>
</template>
Elements
- Camera3d
- Container2d
- Container3d
- Sprite2d
- Sprite2s
- Sprite3d
- Text2d
- Text2s
- Text3d
- TilingSprite2d
- SimpleMesh2d
- SimpleMesh3d2d
- Mesh2d
- Mesh3d2d
converts
conversion will cause unstable behavior of the renderer and is not recommended. Please use elements with specific suffixes
License
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.9.8 | MIT | |
| 0.9.7 | MIT | |
| 0.9.6 | MIT | |
| 0.9.5 | MIT | |
| 0.9.4 | MIT | |
| 0.9.3 | MIT | |
| 0.9.2 | MIT | |
| 0.9.1 | MIT | |
| 0.9.0 | MIT | |
| 0.8.5 | MIT | |
| 0.8.4 | MIT | |
| 0.8.3 | MIT | |
| 0.8.2 | MIT | |
| 0.8.1 | MIT | |
| 0.8.0 | MIT | |
| 0.7.9 | MIT | |
| 0.7.8 | MIT |