一次已保存的 P 图结果,渲染时只需要点位、世界坐标和图片地址

interface PanoPatch {
    imageUrl: string;
    panoIndex: number;
    worldCorners: number[][];
}

Properties

imageUrl: string

带透明通道的贴片图地址

panoIndex: number

点位序号,从 0 开始,与 Five 的 panoIndex 一致

worldCorners: number[][]

贴片四个角的世界坐标,顺序为左上、右上、右下、左下