Type Alias TGeometryUpdateState

TGeometryUpdateState: {
    altitude?: number;
    borderColor?: string;
    borderVisible?: boolean;
    borderWidth?: number;
    color?: string;
    enableImageCollisions?: boolean;
    flipImageToFaceCamera?: boolean;
    height?: number;
    hoverColor?: string;
    interactive?: boolean;
    opacity?: number;
    texture?: { url: string };
    topColor?: string;
    topTexture?: { url: string };
    type?: "geometry";
    visible?: boolean;
}

Type declaration

  • Optionalaltitude?: number

    The altitude of the geometry element in meters.

    0
    
  • OptionalborderColor?: string

    The color of the border. borderVisible must be true for this to take effect.

  • OptionalborderVisible?: boolean

    Whether the geometry has a border

  • OptionalborderWidth?: number

    The width of the border. borderVisible must be true for this to take effect.

  • Optionalcolor?: string

    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).

    #ffffff
    
  • OptionalenableImageCollisions?: boolean

    Whether the anchored image should collide with other images.

    false
    
  • OptionalflipImageToFaceCamera?: boolean

    Whether the image should be flipped to face the camera.

    false
    
  • Optionalheight?: number

    Height of the geometry element in meters.

    0
    
  • OptionalhoverColor?: string

    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).

  • Optionalinteractive?: 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).

    false
    
  • Optionalopacity?: number

    Opacity of the geometry element.

    1
    
  • Optionaltexture?: { url: string }

    Texture to apply to the geometry element.

  • OptionaltopColor?: string

    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.

  • Optionaltype?: "geometry"
  • Optionalvisible?: boolean

    Whether the geometry is visible.

    true