SYNOPSIS:

root.view: array of views containing view state

DESCRIPTION:

Each view has an associated array element within root.view
that describes its state. It is accessed as root.view[viewname]
where the viewname "current" is reserved and is an alias to the
currently active view.
Each struct contains the following information elements:
- name (string) the name of the view.
- vpos/vdir/vright/vtop (vector) the position and direction of the
  view as its renderers have determined it. Note, that this
  can differ from the camera orientation due to VIEW_OFFSET,
  VIEW_TURN and rendermodes that force direction like XY.
- zoom (double) the zoom factor. Its meaning depends on the
  rendermode/camera geometry in effect. For most projections
  it will be the full opening angle. For 2D it will be the
  pixel scale factor and parallel projection uses the size
  of the projection plane.
- aspectx/y (double) aspect ratio. Useful to compensate for
  video formats or 2D anisotropous data.
- camgeometry (int) current numeric geometry setup.
- moveflags (int) These can be used to speed up moving (0x01)
  or to lock out turn operations (0x02).
- colorize (int) the class to use as default target for most
  operations that change classes.
- stereomode (int) the numeric stereo mode in effect.
- turnonobject (int) active turnmode. If this is set to KEEP,
- currturnpoint (vector) will be used as point to turn about.
- viewflags (int) see the command VIEW_FLAGS.
- postflags (int) see VIEW_POSTPROCESSING
- stepconst (double) see STEP
- scalemeup (int) see VIEW_SCALE
- playdir (int) see PLAYDIR
- playpos (int) current frame number of played posfile
- autonavigate (int) see AUTO
- dodisp (int) see VIEW_DISP
- drawwhenflags (int) see VIEW_DRAWWHENFLAGS
- caption (string) see CAPTION
- markershow (int) see MARKER_VIS
- viewmove/viewturn (vector) see VIEW_OFFSET and VIEW_TURN
- frametime last time required to render the view
- autopilot_pathlength (double) length of the path the autopilot
  has traveled so far.
- fastrender (int) enable fastrendering for this view. The value
  controls how much the image is degraded while fastrendering.
- size.x/y (int) size of the view

SEE ALSO:

expression, variable, function,