box 所带的数据详细类型

interface BoxItemObjectData {
    color?: string;
    end: number[];
    floorIndex?: number;
    opacity?: number;
    points?: number[][];
    rotation?: number[];
    start: number[];
    [key: string]: any;
}

Indexable

  • [key: string]: any

    其他信息

Properties

color?: string

标注颜色

end: number[]

start 对角位置的顶点坐标

floorIndex?: number

所在楼层

opacity?: number

透明度

points?: number[][]

绘制平面的三维世界坐标点数组

rotation?: number[]

box 的欧拉角旋转,旋转顺序是 [XYZ]

start: number[]

box 的其中一个顶点坐标