Capítulo 733 de 859

Chapter 733: Text2D

Core Idea

Reference for Text2D.

Code Examples

import * as Text2D from 'three/addons/webxr/Text2D.js';
  • What it demonstrates: Typical usage of Text2D.

Reference Tables

Methods

MethodDescription
.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.

Key Takeaways

  1. Key methods: createText.

Connects To