We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db572cf commit 1d40f2aCopy full SHA for 1d40f2a
README.md
@@ -0,0 +1,22 @@
1
+# aframe-htmltexture-component
2
+
3
+[](https://preview.npmjs.com/package/aframe-htmltexture-component)
4
+[](https://github.com/scenevr/aframe-htmltexture-component)
5
6
+HTML Texture component for A-Frame VR.
7
8
+
9
10
+## Usage
11
12
+Import it in your Javascript : `import 'aframe-htmltexture-component'`
13
14
+```html
15
+<div id="hello">
16
+ Hello <b>World !</b>
17
+</div>
18
19
+<a-entity geometry="primitive: box" htmltexture="asset: #hello" position="0 2 -4" draw="width: 128; height: 512;"></a-entity>
20
+```
21
22
examples/example.png
36.9 KB
0 commit comments