Type Alias TGeometryState

TGeometryState: {
    color: string | "initial";
    height: number;
    hoverColor?: string | "initial";
    interactive: boolean;
    opacity: number;
    texture?: { url: string };
    topColor?: string | "initial";
    topTexture?: { url: string };
    type: "geometry";
    visible: boolean;
}

Defines the state for geometry elements like Space when updated.

Type declaration

  • color: string | "initial"

    Color of the geometry element. Color can be set using CSS colors names DarkGoldenRod, as Hex strings #0000FF or the rgb values rgb(255,0,0).

  • height: number

    Height of the geometry element in meters.

  • OptionalhoverColor?: string | "initial"

    Color of the geometry element when hovered over. Color can be set using CSS colors names DarkGoldenRod, as Hex strings #0000FF or the rgb values rgb(255,0,0).

  • interactive: boolean

    Indicates if the geometry element is interactive. Color can be set using CSS colors names DarkGoldenRod, as Hex strings #0000FF or the rgb values rgb(255,0,0).

  • opacity: number

    Opacity of the geometry element.

  • Optionaltexture?: { url: string }

    Texture to apply to the geometry element.

  • OptionaltopColor?: string | "initial"

    Color of the geometry element's top. Color can be set using CSS colors names DarkGoldenRod, as Hex strings #0000FF or the rgb values rgb(255,0,0).

  • OptionaltopTexture?: { url: string }

    Top texture to apply to the geometry element.

  • type: "geometry"
  • visible: boolean

    geometry gets rendered if true

MMNEPVFCICPMFPCPTTAAATR