AFRAME

Note: This documentation is for the old 0.2.0 version of A-Frame. Check out the documentation for the current 0.5.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.

PropertyDescription
AEntityEntity prototype.
ANodeBase node prototype that A-Frame elements inherit from.
ASceneScene prototype.
componentsObject of registered components.
registerComponentFunction to register a component.
registerPrimitiveFunction to register a primitive.
registerShaderFunction to register a shader.
shadersObject of registered shaders.
systemsObject of registered systems.
THREEGlobal three.js object.
TWEENGlobal tween.js object.
utilsA-Frame utility modules.
versionVersion of A-Frame build.