interface ServerAreaMakerItem {
    floor_index: number;
    id: string | number;
    name?: string;
    object_data: {
        bottom_y: number;
        color?: string;
        height: number;
        opacity?: number;
        shape: Record<string, any>;
        visible?: boolean;
    };
}

Properties

floor_index: number

标注所在楼层

id: string | number
name?: string

标注名称

object_data: {
    bottom_y: number;
    color?: string;
    height: number;
    opacity?: number;
    shape: Record<string, any>;
    visible?: boolean;
}

标注物体

Type declaration

  • bottom_y: number

    标注底面 y 坐标

  • Optionalcolor?: string

    标注颜色

    "#ffffff"
    
  • height: number

    标注高度,指标注顶部距离底部的距离。只能为正值,单位是米

  • Optionalopacity?: number

    标注透明度

  • shape: Record<string, any>

    标注底面形状,THREE.Shape().toJSON() 的结果

  • Optionalvisible?: boolean

    @description: 是否加载标注模型

    true