0.4.3 • Published 8 years ago

voxel-outline v0.4.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

voxel-outline

Show an outline around the player's currently targeted block (voxel.js plugin)

screenshot

Load with voxel-plugins. Comparable to voxel-highlight except requires voxel-mesher and voxel-shader, uses gl-modules instead of three.js, and has less functionality.

API

Emits events when the raycast voxel target changes (similar to voxel-highlight):

var outlinePlugin = game.plugins.get('voxel-outline');

outlinePlugin.on('highlight', function(pos, info) { /* ... */});
outlinePlugin.on('remove', function(pos) { /* ... */});

For an example of this API usage, see voxel-voila.

License

MIT

0.4.3

8 years ago

0.4.2

9 years ago

0.4.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

10 years ago

0.1.0

10 years ago