Partial version of GlobalState used to update the global state of the MapView. All properties are optional.

interface UpdateGlobalState {
    backgroundAlpha?: number;
    backgroundColor?: string;
    environment?: EnvMapOptions;
    geometry?: { hoverColor?: string };
    text3d?: { hoverColor?: string };
}

Properties

backgroundAlpha?: number

The alpha value of the background, between 0 and 1.

1
backgroundColor?: string

The color of the background, in hex format(#000000).

environment?: EnvMapOptions

environment map for reflections.

'basic'
geometry?: { hoverColor?: string }

Type declaration

  • OptionalhoverColor?: string

    hover color of the geometries

text3d?: { hoverColor?: string }

Type declaration

  • OptionalhoverColor?: string

    hover color of the text3d