aframe-layout-component
3D layout component and helpers for A-Frame VR.
Usage
Install (or directly include the browser files).
npm install --save aframe-layout
Register.
var layout = component;;
Use.
This will layout all of the child entities in a circle.
Attributes
Attribute | Description | Default Value |
---|---|---|
type | Type of layout. Can be one of box , circle , cube , dodecahedron , line , pyramid . |
line |
margin | Margin in meters. | 1 |
radius | Radius in meters. | 1 |