最終更新:2021-02-25 (木) 13:46:25 (1156d)
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>
プリミティブ
- a-box
- a-camera
- a-circle?
- a-cone?
- a-cursor?
- a-curvedimage?
- a-cylinder?
- a-dodecahedron?
- a-gltf-model?
- a-icosahedron?
- a-image?
- a-light?
- a-link?
- a-obj-model?
- a-octahedron?
- a-plane
- a-ring?
- a-sky
- a-sound
- a-sphere
- a-tetrahedron?
- a-text?
- a-torus-knot?
- a-torus?
- a-triangle?
- a-video?
- a-videosphere?
エンティティ
追加
- AFRAME.registerPrimitive(name, definition)