如何禁用鼠标事件?
我想在体积的网格和切片上使用非常简单的鼠标事件,并在那里使用一些 ajax 调用,因此不需要集成事件。
如何禁用进度条?
我在某处读过...
有什么参考资料可以让我看到可用的命令吗?
提前致谢
交互器和渲染器都有配置选项
var r = X.renderer3D();
// to disable the progress bar
r.config.PROGRESSBAR_ENABLED = false;
r.init(); // the r.init creates the interactor
// to disable the mouse wheel interaction
r.interactor.config.MOUSEWHEEL_ENABLED = false;
// to disable mouse clicks
r.interactor.config.MOUSECLICKS_ENABLED = false;
// init the interactor again
r.interactor.init();
要获取有关 API 的信息,请访问http://api.goXTK.com。不幸的是,当前的 API 文档并没有涵盖所有内容(配置选项)。因此,请查看此处记录的来源:https ://github.com/xtk/X/blob/master/io/interactor.js#L189