Capítulo 733 de 859
Reference for Text2D.
import * as Text2D from 'three/addons/webxr/Text2D.js';
Methods
| Method | Description |
|---|---|
.createText( message : string, height : number ) : Mesh (inner) | A helper function for creating a simple plane mesh that can be used as a text label. The mesh's material holds a canvas texture that displays the given message. |