OptionalautoOrbit around the target on its own whenever no gesture is in progress
OptionalautoAuto-rotate speed in revolutions per minute; negative values turn the other way
OptionalautoRun update() from Ticker.shared every frame
Set false to drive updates yourself; OrbitCamera#autoUpdate says when that helps.
OptionaldampingShare of the remaining motion applied each update while enableDamping is on
OptionalenabledWhether the controller responds to input; OrbitCamera#enabled covers what keeps running
OptionalenableEase rotation and panning out after input stops; OrbitCamera#enableDamping has the details
OptionalenableWhether drags pan the camera
OptionalenableWhether drags rotate the camera
OptionalenableWhether the wheel, pinches and any button set to 'zoom' zoom the camera
OptionalmaxLargest azimuth the camera can reach, in radians
OptionalmaxMaximum distance from target
OptionalmaxLargest polar angle the camera can reach, in radians
OptionalmaxMaximum camera zoom (orthographic only)
OptionalminSmallest azimuth the camera can reach, in radians; OrbitCamera#minAzimuthAngle covers how the pair of limits applies
OptionalminMinimum distance from target
OptionalminSmallest polar angle the camera can reach, in radians
OptionalminMinimum camera zoom (orthographic only)
OptionalmouseMouse-button action assignments, merged over the defaults
OptionalpanMultiplier on pan drags
OptionalpreventKeep the browser's context menu from opening over the View; OrbitCamera#preventContextMenu covers where it still opens
OptionalrotateMultiplier on rotate drags
Optionalscreentrue pans in the screen's plane; false pans across the plane at right angles to
OrbitCamera#up, so vertical drags move over the ground like a map
OptionaltargetWorld-space point to orbit around; (0, 0, 0) when omitted
OptionaltouchesTouch-gesture action assignments, merged over the defaults
OptionalupWorld-space up axis the orbit turns around; (0, 1, 0) when omitted
The view whose camera the controller drives and whose pointer and wheel events it reads
OptionalzoomMultiplier on zoom input from the wheel, pinches and zoom-button drags
OptionalzoomZoom toward the point under the pointer instead of the target; OrbitCamera#zoomToCursor has the details
Constructor options for OrbitCamera
Every field but
viewhas a default. Every option is also a property on the instance, and all butviewcan be changed at runtime.Example