Skip to content

coderofsalvation/aframe-htmlmesh

 
 

Repository files navigation

AFrame-HTML

<a-sphere color="black" radius="0.01" id="cursor" material="shader:flat" visible="false"></a-sphere>
<a-entity html="html:#my-interface;cursor:#cursor;" position="0 1.5 -0.5"></a-entity>

image

html component

Property Type Description Default
html selector HTML element to use.
cursor selector Visual indicator for where the user is currently pointing
xrlayer bool Render via XR Layer for better performance and readability true

About

Element for displaying HTML based on THREE.js HTMLMesh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • HTML 0.3%