<defaultview>
Description
If specified in the global node, this node sets the scene and view that is initially displayed when the tour is loaded. If the scene atttribute is omitted, the first scene will be used instead.
For a scene node, the pan, tilt and fov attributes specify the view parameters that will be used when the scene is opened without specifying view parameters (eg by a setView action). If no pan, tilt or fov value is specified in the serView action, and no defaultview node is specified in the target scene, the pan, tilt and/or fov are not changed from their current values..
Syntax
<tour> <global> <meta> <defaultview scene="someScene" pan="0" tilt="0" fov="90"/> ... </meta> ... <global> ... </tour>
Attributes
-
scene
In the global node, points to the ID of the scene in the tour that should be opened upon loading the tour. If no scene is specified, the first scene in the tour will be used. If the scene attribute is used in a scene's defaultview, it is ignored. -
pan
Default pan in degreesValues: -180 to 180, defaults to 0 -
tilt
Default tilt in degrees-90 to 90, defaults to 0 -
fov
Default field of view in degrees0.1 to 170, defaults to 90
Children
none
History
- 07-Apr-04: Initial version
- 09-May-05: Updated description
fieldOfView | SPi-V dev