HomefieldOfView | SPi-V dev

Legend

  • required
  • not yet implemented

Navigation

user

setView

Description

Sets the view to the specified pano, tilt and fov, and/or changes the current scene within a tour of multiple scenes.

If no scene is specified, the scene will not change. If a camera property is not specified ("" or VOID), that property will remain what it was in the current scene/view.

Syntax

Action:

<action event="ready" type="setView" scene="scene1" pan="90" tilt="1" fov="80"/>

API call:

setView("scene1","90","1","80")

Arguments

  • scene
    ID of a scene within the current tour.
  • pan
    New pan value.
  • tilt
    New tilt value.
  • fov
    New field of view.

History

  • 13-Jan-06: Initial version