Flexibility in aframe_blender_exporter

October 20, 2020 ยท View on GitHub

Custom aframe tags/attributes:

Will turn into

<a-image id="#Logo"   scale="1 1 1" position="-0.004364235792309046 2.5867919921875 -4.709991931915283" visible="true" shadow="cast: false"  src="#logo" geometry="width:3; height:0.9"></a-image>
attrtyperesult
AFRAME_GEOMETRYunknown / custom attributegeometry="..value.."
AFRAME_NOGLTFexporterprevents gltf-model="..." attribute being written (handy in combination with AFRAME_TAG)
AFRAME_SRCunknown / custom attributesrc="..value.."
AFRAME_TAGexporteroverride default <a-entity>-tag with <a-VALUE>-tag (handy for e.g.)

Empty blender entities

Are also supported, and exported as empty <a-entity> aframe-tags, so you can dynamically enhance them using javascript.