Tutorial by Examples

<a-scene> <a-assets> <a-mixin id="red" material="color: red"></a-mixin> <a-mixin id="blue" material="color: blue"></a-mixin> <a-mixin id="cube" geometry="primitive: box"></a-mix...
Properties of a multi-property component will merge if defined by multiple mixins and/or the entity. For example: <a-scene> <a-assets> <a-mixin id="box" geometry="primitive: box"></a-mixin> <a-mixin id="tall" geometry="heigh...
When an entity includes multiple mixins that define the same component properties, the right-most mixin takes precedence. In the example below, the entity includes both red and blue mixins, and since the blue mixin is included last, the final color of the cube will be blue. <a-scene> &l...

Page 1 of 1