Releases: ycw/Babylon.Font
Releases · ycw/Babylon.Font
v4.0.0
v3.0.0
v2.0.1
v2.0.0
Update:
- only es module ( dist/babylon.font.js ) available.
- no script.
- requires to import opentype, earcut and babylon as module; and inject ...
Font.install(fontUrl, compiler, opentype) // <-- here
new TextMeshBuilder(BABYLON, earcut) // <-- here
API
Font.Install()
requires opentype injection.- deleted
Font.Measure
, usefont.measure
instead. - deleted
Font.BuildMesh
, useTextMeshBuilder
instead. new TextMeshBuilder()
requires babylonjs (Mesh
,MeshBuilder
andVector3
) and earcut injection
App/gen
- deleted shadow controls
Examples
- added "examples/bare/".