Tutorial by Examples

We can register our own primitives (i.e., register an element) using AFRAME.registerPrimitive(name, definition). definition is a JavaScript object defining these properties: PropertyDescriptiondefaultComponentsObject specifying default components of the primitive. The keys are the components' nam...

Page 1 of 1