decimator

1.0.0 • Public • Published

Introduction

PlayCanvas Decimator that works on Mesh Instances either in the Editor or in the Engine.

Installation

npm install --save playcanvas-decimator

Usage

import decimate from 'playcanvas-decimator';
 
let mesh = decimate(numberOfFaces, mesh.meshInstances[0])
 

Face removal

Faces are removed based on curvature and the UV offset.

Package Sidebar

Install

npm i decimator

Weekly Downloads

3

Version

1.0.0

License

ISC

Last publish

Collaborators

  • andtrobs
  • michael.john.talbot