voxel-wireframe

0.6.1 • Public • Published

voxel-wireframe

Shows a wireframe around the voxels in voxel-engine-stackgl

screenshot

Usage

Load with voxel-plugins, options:

  • showWireframe: if true, wireframe will be shown initially (default false)

Press and the 'wireframe' keybinding (default 'F9') with the Shift key to toggle the wireframe interactively (without shift, F9 by default toggles voxel-chunkborder).

.showWireframe property can be set to manually show the wireframe, example:

var wirePlugin = game.plugins.get('voxel-wireframe');

wirePlugin.showWireframe = true;

License

Based on mikolalysenko/voxel-mipmap-demo (c) 2013 Mikola Lysenko. MIT License

MIT

Package Sidebar

Install

npm i voxel-wireframe

Weekly Downloads

2

Version

0.6.1

License

MIT

Last publish

Collaborators

  • deathcap