Geometry · function
textMeshWidthM
Width of a string in world units, before the basis is applied.
Explained in Hello world, Meshes and geometry.
function textMeshWidthM(text: string, cellSizeM: number): numberimport { textMeshWidthM } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
text | string | |
cellSizeM | number |