docsby gkjohnson
Drag to rotate the globe, right drag or shift drag to tilt, and scroll to zoom
Data courtesy of Esri World Imagery
On this page

Properties

nearMargin: number = 0.25

farMargin: number = 0

globeInertia: Quaternion = new Quaternion()

globeInertiaFactor: number = 0

ellipsoid: Ellipsoid = WGS84_ELLIPSOID

ellipsoidGroup: Group = new Group()

Methods

new GlobeControls(
	// The scene to raycast against for surface interaction.
	scene: Object3D = null,

	// The camera to control.
	camera: Camera = null,

	// The DOM element to attach pointer events to.
	domElement: HTMLElement = null
)
setEllipsoid(
	// Ellipsoid to use. Defaults to a WGS84 clone.
	ellipsoid?: Ellipsoid,

	// Group whose world matrix defines the ellipsoid frame.
	ellipsoidGroup?: Group
): void
getVectorToCenter( target: Vector3 ): Vector3
getDistanceToCenter(): number

Inherited