MCPcopy
hub / github.com/aframevr/aframe / init

Function init

tests/extras/primitives/primitives/a-torus.test.js:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 scene.appendChild(torusEl);
86 registerComponent('test', {
87 init () {
88 this.el.setAttribute('segments-tubular', '100');
89 this.el.setAttribute('radius', '2');
90 this.el.setAttribute('radius-tubular', '0.1');
91 }
92 });
93 setTimeout(function () {
94 geometry = torusEl.getAttribute('geometry');

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.45

Tested by

no test coverage detected