js读取操作krpano

1.获取当前场景名称ID

var krpano = document.getElementById('krpanoSWFObject');
var scene= krpano.get("xml.scene");

2.call调用lookto等函数

var krpano = document.getElementById('krpanoSWFObject');
krpano.call("lookto(0,0,150)");

posted @ 2020-12-02 16:22  Xyang  阅读(1084)  评论(0编辑  收藏  举报
hi