Members
constructor
- hostHost
- Undocumented
stateaccessor
cycleView
The next view along: chase, orbit, chase.
drag
A drag, in pixels. In the orbit it orbits; in the chase it turns the head, because there is nothing else a drag from a chase position can mean — the eye is bolted to the hull.
- dxPixelsnumber
- Undocumented
- dyPixelsnumber
- Undocumented
- sensitivitynumber
- Undocumented
dragSensitivity
Radians per CSS pixel of drag, as a multiple of the reference.
recenter
Look where the view aims again.
reset
Back to the chase, as a session opens.
setView
Stand in a view.
Entering the orbit opens it where the chase camera was standing — the chase offset, turned by the ship's attitude, read off this frame's scene — so the switch is a change of what the camera does next rather than a jump. The head is centered on every switch: a look is an offset from the view's own aim, and the aim it was measured against is gone.
- viewFlightView
- Undocumented
status
turn
A drag applied to the look alone, whichever view is up.
- dxPixelsnumber
- Undocumented
- dyPixelsnumber
- Undocumented
- sensitivitynumber
- Undocumented
zoom
Multiply the orbit's distance; above 1 retreats. Nothing in the chase.
- factornumber
- Undocumented
zoomNotches
- notchesnumber
- Undocumented