aframe-slice9-component
A Slice9 component for A-Frame.
For A-Frame.
API
Property | Description | Default Value |
---|---|---|
width | 1 | |
height | 1 | |
left | 0 | |
right | 0 | |
bottom | 0 | |
top | 0 | |
side | front | |
padding | 0.1 | |
color | #fff | |
opacity | 1.0 | |
transparent | true | |
debug | false | |
map | '' |
Installation
Browser
Install and use by directly including the browser files:
My A-Frame Scene
npm
Install via npm:
npm install aframe-slice9-component
Then require and use.
;;