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) // <-- herenew TextMeshBuilder(BABYLON, earcut) // <-- here
API
Font.Install()requires opentype injection.- deleted
Font.Measure, usefont.measureinstead. - deleted
Font.BuildMesh, useTextMeshBuilderinstead. new TextMeshBuilder()requires babylonjs (Mesh,MeshBuilderandVector3) and earcut injection
App/gen
- deleted shadow controls
Examples
- added "examples/bare/".