AFRAME
Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 1.7.0 version
A-Frame exposes its public interface through the window.AFRAME browser global. This same interface is exposed if requiring with NPM (require('aframe');). AFRAME can be used to register new things and extend AFRAME’s capabilities.
| Property | Description |
|---|---|
| AEntity | Entity prototype. |
| ANode | Base node prototype that A-Frame elements inherit from. |
| AScene | Scene prototype. |
| components | Object of registered components. |
| registerComponent | Function to register a component. |
| registerPrimitive | Function to register a primitive. |
| registerShader | Function to register a shader. |
| shaders | Object of registered shaders. |
| systems | Object of registered systems. |
| THREE | Global three.js object. |
| TWEEN | Global tween.js object. |
| utils | A-Frame utility modules. |
| version | Version of A-Frame build. |