影响材质的样式

interface GuideLineMaterialStyle {
    background_clip?: "border-box" | "padding-box";
    background_color?: string;
    background_opacity?: number;
    border_color?: string;
    border_opacity?: number;
    border_width?: number;
    color?: string;
    opacity?: number;
    texture?: {
        url: string;
    };
    visible?: boolean;
}

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

透明度

texture?: {
    url: string;
}

贴图

Type declaration

  • url: string

    贴图地址

visible?: boolean

是否可见