Members
-
springStrength :number
-
Description
Strength of the interaction spring -
drag :number
-
Description
Drag applied to post-interaction velocity -
poleBufferThreshold :number
-
Description
Threshold around the poles that the movement model will spring back from, in degrees -
panDeltaScale :number
-
Description
Scale factor applied to panning. -
velocityDeltaScale :number
-
Description
Scale factor applied to pan velocity. -
currentLatLonAlt :Array
-
Description
Current latitude, longitude, and altitude held by movement model
Methods
-
<package> register( ambientController, animationController, interactionController )
-
Description
Registers ambient, animation, and interaction controllers for useParameters
Name Type Description ambientController
AmbientController ambient controller animationController
AnimationController animation controller interactionController
InteractionController interaction controller -
<package> resize( width, height, aspect, fov )
-
Description
Resizes the params for the movement modelParameters
Name Type Description width
number height
number aspect
number fov
number -
setLatLonAlt( lat, lon, alt )
-
Description
Immediately sets the latitdue, longitude, and altitudeParameters
Name Type Description lat
number Latitude lon
number Longitude alt
number Altitude -
setLatLon( lat, lon )
-
Description
Immediately sets the latitdue and longitudeParameters
Name Type Description lat
number Latitude lon
number Longitude -
setAlt( alt )
-
Description
Immediately sets the altitudeParameters
Name Type Description alt
number Altitude -
<package> update( time, fov )
-
Description
Updates based on the tickParameters
Name Type Description time
number Time since start fov
number Field of view -
<package> startPan( event )
-
Description
Handle the startPan eventParameters
Name Type Description event
Event Event coming in from InteractionController -
<package> continuePan( event )
-
Description
Handle the continuePan eventParameters
Name Type Description event
Event Event coming in from InteractionController -
<package> endPan( event )
-
Description
Handle the endPan eventParameters
Name Type Description event
Event Event coming in from InteractionController