Aframe: what's `<a-scene>` ???

Created on 19 Feb 2017  路  2Comments  路  Source: aframevr/aframe

what's this ? a custom element ?

<a-scene>

Most helpful comment

@xgqfrms-GitHub welcome! Yes, it is a custom element based on newer web APIs. Much of A-Frame's syntax involves using elements like <a-entity /> or attributes like <a-entity foo bar /> to create relationships between THREE.js objects. For example, <a-scene /> is closely related to THREE.Scene.

The FAQ and Slack are good options for learning more.

All 2 comments

@xgqfrms-GitHub welcome! Yes, it is a custom element based on newer web APIs. Much of A-Frame's syntax involves using elements like <a-entity /> or attributes like <a-entity foo bar /> to create relationships between THREE.js objects. For example, <a-scene /> is closely related to THREE.Scene.

The FAQ and Slack are good options for learning more.

Thanks for your reply!

Was this page helpful?
0 / 5 - 0 ratings