MutliModelExtensionBase 中的 this.options 始终为空



我试图在查看器锻造上使用扩展。我想添加 Markup3D,但使用扩展名.Markup3D 默认按钮不起作用,它不显示列表... 所以我也尝试使用扩展MultiModelExtensionBase的PointCloudMarkupExtension。this.option 字段在 MultiModelExtenBase 中始终为空。

屏幕截图错误

感谢您:)回复

如果扩展需要某些选项(如本例所示(,则需要在实例化扩展时提供选项,例如:

viewer.loadExtension('Viewing.Extension.PointCloudMarkup', { react: myReactComponent });

最新更新