Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.5k views
in Technique[技术] by (71.8m points)

我想要修改viewer自带的工具栏按钮的图标?修改的代码写在哪个文件里?three.js?viewer3D.js?

image.png上面的icon我想改变一下 具体代码怎么写?写在哪个文件里?希望大神指导一下


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

如把平移的图标换为第一人称的图标
viewer.toolbar._controls[0].panbutton.setIcon("adsk-icon-first-person")


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...