first
npm install three npm install three-text2d
second
Same usage as ue-3d-model
add new spritefun 传参参数1 spritetext 传参参数2 tonealgin 参数位置1 ttwoalgin 参数位置2 tcolor 参数显示颜色
You can modify it
如果有别的要求可以按需修改model-mixin and utils
This is a small integration based on the two development libraries, ue 3d-model and three-text2d. Thanks to the two developers, this thing is only applicable to those who use ue 3d-model and need Sprite
JavaScript