API

Class HtmlInteractionManager

Overlays the live HTML element of an HtmlTexture on top of the projected face of a planar mesh, so the browser hit-tests the real DOM element natively (enabling focus, text selection and form input).

Each frame the mesh face is projected to screen space and the element is translated, scaled and rotated to match. This is best suited to planar, camera-facing surfaces. For arbitrary or curved meshes, use the UV-based HtmlRaycastInteractionManager instead.

The overlay is screen-aligned (position, size and in-plane rotation); it does not apply a full perspective skew, so steeply oblique faces will not be perspective-correct.

Index