|
@@ -1,8 +1,14 @@
|
1
|
1
|
# A-Frame plugin
|
2
|
2
|
|
3
|
|
-Documentation of the [A-Frame](https://aframe.io){ ._blank } plugin.
|
|
3
|
+Documentation of the [A-Frame](https://aframe.io){ ._blank } plugin. Study the [demos](../demos.md) for elaborate examples.
|
4
|
4
|
|
5
|
|
-We'll get to the details, but a basic augmented scene can be constructed as follows:
|
|
5
|
+*Since:* 0.3.0
|
|
6
|
+
|
|
7
|
+## Basics
|
|
8
|
+
|
|
9
|
+### Example
|
|
10
|
+
|
|
11
|
+A basic augmented scene can be constructed as follows:
|
6
|
12
|
|
7
|
13
|
```html
|
8
|
14
|
<a-scene encantar="stats: true; gizmos: true">
|
|
@@ -33,13 +39,11 @@ We'll get to the details, but a basic augmented scene can be constructed as foll
|
33
|
39
|
</a-scene>
|
34
|
40
|
```
|
35
|
41
|
|
36
|
|
-*Since:* 0.3.0
|
37
|
|
-
|
38
|
|
-## Basics
|
|
42
|
+[{ .responsive }](../img/demo-box.gif){ ._blank }
|
39
|
43
|
|
40
|
44
|
### encantar
|
41
|
45
|
|
42
|
|
-The `encantar` component *enchants* (augments) `<a-scene>`, so that it displays content in AR.
|
|
46
|
+The `encantar` component *enchants* `<a-scene>`, so that it displays content in AR.
|
43
|
47
|
|
44
|
48
|
**Properties**
|
45
|
49
|
|