Description Usage Arguments Format Details Functions See Also Examples
Functions to output A-Frame's custom HTML elements
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | aframeScene(...)
aframeAssets(...)
aframeMixin(...)
aframeEntity(...)
aframeSphere(...)
aframeBox(...)
aframePrimitive(primitive = "entity", ...)
atags
|
... |
Attributes, components, and/or child elements |
primitive |
Primitive name (excluding the "a-") |
The atags
list contains all of these
tag functions for convenient access.
These functions are just simple wrappers for
tag
to output common A-Frame custom elements.
aframeScene
: Top level scene entity
aframeAssets
: Specify assets for pre-loading
aframeMixin
: Reusable component specifications
aframeEntity
: Generic entity
aframeSphere
: Sphere primitive
aframeBox
: Box primitive
aframePrimitive
: All other primitives
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.