How to change specific scene hlookatmin/hlookatmax/etc?

  • Hello. Can somebody help me?
    On some global event I want to change view.hlookatmin or view.hlookatmax variable of specific scene. How it can be done? How I can specify that I need to change view.hlookatmin only on scene[pano2140]?

  • Hi,

    the values of a not-loaded scene can't be changed.

    A scene itself is only a data-string, an inline/embedded xml file.
    When the scene gets loaded, it's content will be parsed and become the new pano and then it's values can be changed.

    To change settings you could use the scene onstart or the onnewpano or onxmlcomplete events to change dynamically some values (e.g. depending on the current scene - which can be checked by xml.scene .

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!