Skip to main content

Interface: GlobeOptions

Defined in: src/mobjects/geo/Globe.ts:29

Options for a Globe.

Properties​

center?​

optional center: Vector3Tuple

Defined in: src/mobjects/geo/Globe.ts:33

Center position [x, y, z]. Default: [0, 0, 0].


color?​

optional color: string

Defined in: src/mobjects/geo/Globe.ts:39

Sphere color when untextured. Default: '#2a6f97'.


darkTextureUrl?​

optional darkTextureUrl: string

Defined in: src/mobjects/geo/Globe.ts:37

Optional dark/night texture URL, blended by light direction.


opacity?​

optional opacity: number

Defined in: src/mobjects/geo/Globe.ts:41

Opacity from 0 to 1. Default: 1.


radius?​

optional radius: number

Defined in: src/mobjects/geo/Globe.ts:31

Sphere radius. Default: 1.


resolution?​

optional resolution: number

Defined in: src/mobjects/geo/Globe.ts:43

Sphere mesh resolution. Default: 64.


textureUrl?​

optional textureUrl: string

Defined in: src/mobjects/geo/Globe.ts:35

Texture image URL. When set, the globe uses a textured sphere.