item과 연동하여 tag 생성 시 필요한 정보에 관한 interface

interface IItemTagInfo {
    floorId: string;
    id?: string;
    isDestinationTag?: boolean;
    parentId?: string;
    pos?: POS;
    position?: IVector3;
    size?: {
        height: number;
        width: number;
    };
    tag: HTMLElement;
    type?: TAG_TYPE;
}

Properties

floorId: string
id?: string
isDestinationTag?: boolean
parentId?: string

연동될 item id

pos?: POS

tag의 위치

position?: IVector3

tag의 world 좌표

size?: {
    height: number;
    width: number;
}

태그의 사이즈

Type declaration

  • height: number
  • width: number
tag: HTMLElement

생성할 HTML Element tag

type?: TAG_TYPE

tag의 type. POI | MARKER