Type Alias GlobalState

GlobalState: {
    backgroundAlpha: number;
    backgroundColor: string;
    environment: EnvMapOptions;
    geometry: { hoverColor: string };
    text3d: { hoverColor: string };
}

Type declaration

  • 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 }
    • hoverColor: string

      hover color of the geometries

  • text3d: { hoverColor: string }
    • hoverColor: string

      hover color of the text3d