最終更新:2021-02-25 (木) 14:28:21 (1156d)
A-Frame/エンティティ
https://aframe.io/docs/1.2.0/core/entity.html
a-sceneへの参照
- document.querySelector('a-entity').sceneEl.object3D; // THREE.Scene
A-Frame/プリミティブ
- Under the hood, this <a-box> primitive:
<a-box color="red" width="3"></a-box>
- represents this entity-component form:
<a-entity geometry="primitive: box; width: 3" material="color: red"></a-entity>