Closed coderofsalvation closed 4 years ago
Hi, thanks for this cool plugin, I've added 2 customization features:
After your first export, this patch will create the 'index.html'-template in the Script-workspace:
That way you can easily customize the exported index.html. (Think adding analytics, JS, a-frame libraries e.g.).
NOTE: index.html is an internal text-file which gets saved into the .blend file. Awesome isn't it?
.blend
AFRAME_*
Let's say you're using an aframe plugin foo which is configurable using foo-attributes:
foo
will then be generated as:
<a-entity .... foo-bar="{value)">
this is quite powerful, as it is impossible to just hardcode every possible future a-frame feature into this addon. Hope you like it.
Hi Leon! Thanks for your pull: I like it very much!
Hi, thanks for this cool plugin, I've added 2 customization features:
1. custom index.html
After your first export, this patch will create the 'index.html'-template in the Script-workspace:
That way you can easily customize the exported index.html. (Think adding analytics, JS, a-frame libraries e.g.).
2. unknown
AFRAME_*
custom attributes will map to aframe attributes automaticallyLet's say you're using an aframe plugin
foo
which is configurable usingfoo
-attributes:will then be generated as:
<a-entity .... foo-bar="{value)">