specifies a point in space to which the browser will fly during a tour.
It must contain one AbstractView, and should contain and
elements, which specify the time it takes to fly to the defined point from the current
point, and the method of flight, respectively.
Syntax:
<gx:FlyTo>
<gx:duration>0.0</gx:duration> <!-- double -->
<gx:flyToMode>bounce</gx:duration> <!-- smooth or bounce -->
<!-- AbstractView --> <!-- Camera or LookAt -->
...
<!-- /AbstractView -->
</gx:FlyTo>
extends gx:TourPrimitive by specifying a time-span for events. The
time is written as seconds using XML's double datatype.
Duration and
Duration and
Specifies the length of time over which the update takes place. Integer, float,
and color fields are smoothly animated from original to new value across the duration;
boolean, string, and other values that don't lend to interpolation are updated at
the end of the duration.
When a duration is included within a element, it specifies the length
of time that the browser takes to fly from the previous point to the specified point.
Creates a new instance of Camera and set it to abstractView.
This method is a short version for:
Camera camera = new Camera();
this.setAbstractView(camera);
Creates a new instance of LookAt and set it to abstractView.
This method is a short version for:
LookAt lookAt = new LookAt();
this.setAbstractView(lookAt);