模型路径样式

interface ModelGuideLineStyle {
    background_clip?: "border-box" | "padding-box";
    background_color?: string;
    background_opacity?: number;
    border_color?: string;
    border_opacity?: number;
    border_width?: number;
    color?: string;
    end_tag?: ModelGuideLineTagData;
    opacity?: number;
    scale?: number;
    start_tag?: ModelGuideLineTagData;
    texture?: {
        url: string;
    };
    translate?: number[];
    unit_length?: number;
    visible?: boolean;
    width?: number;
}

Hierarchy (view full)

Properties

background_clip?: "border-box" | "padding-box"

@description: 背景裁剪

背景在边框下方

背景不在边框下方

border-box
background_color?: string

背景颜色

background_opacity?: number

背景透明度

border_color?: string

边框颜色

border_opacity?: number

边框透明度

border_width?: number

边框宽度

0.05
color?: string

hex 颜色

opacity?: number

透明度

scale?: number

线宽缩放

texture?: {
    url: string;
}

贴图

Type declaration

  • url: string

    贴图地址

translate?: number[]

三维偏移值: [x, y, z]

unit_length?: number

每一段 scale 之前的 长度,默认值是 0.5

visible?: boolean

是否可见

width?: number

scale 之前的路线宽度,默认值是 0.5