Type Alias TFloorUpdateState

TFloorUpdateState: {
    altitude?: number;
    areas?: { type?: "floor.areas"; visible?: boolean };
    footprint?: {
        altitude?: number;
        basementMaskEnabled?: boolean;
        ceilingThickness?: number;
        ceilingVisible?: boolean;
        color?: string;
        height?: number;
        opacity?: number;
        outline?: boolean;
        type?: "floor.footprint";
        visible?: boolean;
    };
    geometry?: {
        maskEffect?: "hide"
        | "reveal";
        maskEnabled?: boolean;
        maskId?: null | number;
        maskMode?: "mask" | "masked-object";
        opacity?: number;
        overlayColor?: string;
        overlayStrength?: number;
        type?: "floor.geometry";
        visible?: boolean;
    };
    images?: { type?: "floor.images"; visible?: boolean };
    labels?: { enabled?: boolean; type?: "floor.labels" };
    markers?: { enabled?: boolean; type?: "floor.markers" };
    occlusion?: { type?: "floor.occlusion" };
    paths?: { type?: "floor.paths"; visible?: boolean };
    text3d?: { visible?: boolean };
    type?: "floor";
    visible?: boolean;
}

Type declaration

  • Optionalaltitude?: number

    The altitude of the floor.

    0
    
  • Optionalareas?: { type?: "floor.areas"; visible?: boolean }
    • Optionaltype?: "floor.areas"
    • Optionalvisible?: boolean

      Visibility of the areas on the floor.

      true
      
  • Optionalfootprint?: {
        altitude?: number;
        basementMaskEnabled?: boolean;
        ceilingThickness?: number;
        ceilingVisible?: boolean;
        color?: string;
        height?: number;
        opacity?: number;
        outline?: boolean;
        type?: "floor.footprint";
        visible?: boolean;
    }
    • Optionalaltitude?: number

      Altitude of the footprint relative to the floor.

      0
      
    • OptionalbasementMaskEnabled?: boolean
    • OptionalceilingThickness?: number

      Thickness of the footprint ceiling.

      0.2
      
    • OptionalceilingVisible?: boolean

      Visibility of the ceiling.

      false
      
    • Optionalcolor?: string

      Color of the footprint.

      #ffffff
      
    • Optionalheight?: number

      Height of the footprint relative to altitude.

      0
      
    • Optionalopacity?: number

      Opacity of the footprint.

      1
      
    • Optionaloutline?: boolean

      Whether to show outlines on the footprint walls and ceiling.

      true
      
    • Optionaltype?: "floor.footprint"
    • Optionalvisible?: boolean

      Whether the footprint is visible.

      false
      
  • Optionalgeometry?: {
        maskEffect?: "hide" | "reveal";
        maskEnabled?: boolean;
        maskId?: null | number;
        maskMode?: "mask" | "masked-object";
        opacity?: number;
        overlayColor?: string;
        overlayStrength?: number;
        type?: "floor.geometry";
        visible?: boolean;
    }

    State of the geometry on the floor.

    • OptionalmaskEffect?: "hide" | "reveal"

      Whether to invert the mask.

    • OptionalmaskEnabled?: boolean

      Whether the mask is enabled.

    • OptionalmaskId?: null | number

      Mask ID of the floor geometry.

      null
      
    • OptionalmaskMode?: "mask" | "masked-object"

      Whether the mask is enabled.

    • Optionalopacity?: number

      Opacity of the floor geometry.

      1
      
    • OptionaloverlayColor?: string

      Whether the overlay is enabled.

    • OptionaloverlayStrength?: number

      The opacity of the overlay.

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

      Visibility of floor geometry.

      true
      
  • Optionalimages?: { type?: "floor.images"; visible?: boolean }
    • Optionaltype?: "floor.images"
    • Optionalvisible?: boolean

      Visibility of the images on the floor.

      true
      
  • Optionallabels?: { enabled?: boolean; type?: "floor.labels" }
    • Optionalenabled?: boolean

      Whether the labels are enabled to be shown when the floor is visible.

      true
      
    • Optionaltype?: "floor.labels"
  • Optionalmarkers?: { enabled?: boolean; type?: "floor.markers" }
    • Optionalenabled?: boolean

      Whether the markers are enabled to be shown when the floor is visible.

      true
      
    • Optionaltype?: "floor.markers"
  • Optionalocclusion?: { type?: "floor.occlusion" }
  • Optionalpaths?: { type?: "floor.paths"; visible?: boolean }
    • Optionaltype?: "floor.paths"
    • Optionalvisible?: boolean

      Visibility of the paths on the floor.

      true
      
  • Optionaltext3d?: { visible?: boolean }
    • Optionalvisible?: boolean

      Visibility of the 3D text labels on the floor.

      true
      
  • Optionaltype?: "floor"
  • Optionalvisible?: boolean

    The visibility of the floor, including the geometry, labels, and markers.

    false