You want to check THREE.Material docs for this, since A-Frame cannot expose every option. Here is an example of a component using the option wireframe:
AFRAME.registerComponent('wireframe', {
dependencies: ['material'],
init: function () {
this.el.components.material.material.wireframe = true;
}
});
<a-entity geometry="primitive: box" material="color: blue" wireframe></a-entity>
source
share