interface ServerBoxItem {
    id?: number;
    name?: string;
    object_data: {
        color?: string;
        end: number[];
        opacity?: number;
        rotation?: number[];
        start: number[];
    };
    type: "box";
}

Hierarchy (view full)

Properties

id?: number

唯一标识

name?: string

标签名

object_data: {
    color?: string;
    end: number[];
    opacity?: number;
    rotation?: number[];
    start: number[];
}

Type declaration

  • Optionalcolor?: string

    标注颜色

  • end: number[]

    start 对角位置的顶点坐标

  • Optionalopacity?: number

    透明度

  • Optionalrotation?: number[]

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

  • start: number[]

    box 的其中一个顶点坐标

type