Hello,
How can I get access to global function "layertoscreen" from own plugin in krpano? I suppose that this function was missed :)
When i call this:
function krpanoplugin() {
let local = this;
let krpano = null;
local.registerplugin = function(krpanointerface, pluginpath, pluginobject) {
krpano = krpanointerface;
// INTERESTING POINT
krpano.screentosphere // this is a function, it's okey :)
krpano.layertoscreen // undefined, it's not okey ;/
}
}
In documentary: https://krpano.com/docu/actions/#actionsreference the action should be access, am i right?
I need to convert layer x, y to spherical coordinates! Do you know any workaround for that??
Greetings!