<cameralimits>
Description
Specifies limits to the camera pan, tilt and field of view (zoom). If pan and tilt limits are omitted or set to their maximum values, the camera will have no constraints.
If a panoelement is specified, the engine will automatically set pan, tilt and fov values to limit the camera to show only parts within this panoelement.
Syntax
<tour> <scene> <meta> <cameralimits panmin="-180" panmax="180" tiltmin="-90" tiltmax="90" fovmin="40" fovmax="140" /> ... </meta> ... <scene> ... </tour>
Attributes
-
panoelement
References a panoelement by id that is used to get the min/max pan, tilt and fov values. -
panmin
Minimum pan ("left" edge) in degreesValues:-180 to 180, defaults to -180 -
panmax
Maximum pan ("right" edge) in degreesValues:-180 to 180, defaults to 180 -
tiltmin
Minimum tilt ("bottom" edge) in degreesValues:-90 to 90, defaults to -90 -
tiltmax
Maximum tilt ("top" edge) in degreesValues:-90 to 90, defaults to 90 -
fovmin
Minimum field of view (furthest zoom) in degreesValues:0.1 to 170, defaults to 40 -
fovmax
Maximum field of view (widest angle) in degreesValues:0.1 to 170, defaults to 140
Children
none
History
- 07-Apr-04: Initial version
- 04-Nov-04: Added panoelement attribute
fieldOfView | SPi-V dev