Interface FillExtrusionsModuleOption

interface FillExtrusionsModuleOption {
    borderStyle?: LineMaterialParameters;
    data: FillExtrusionItemData[];
    highlightStyle?: MeshLambertMaterialParameters;
    isXYPlane?: boolean;
    showBorder?: boolean;
    showVertex?: boolean;
    style?: MeshLambertMaterialParameters;
    useBvh?: boolean;
    vertexStyle?: SymbolMaterialProps & {
        pointBorderColor?: ColorRepresentation;
        pointColor?: ColorRepresentation;
        pointSize?: number;
    };
}

Properties

borderStyle?: LineMaterialParameters

边框样式

数据

highlightStyle?: MeshLambertMaterialParameters

高亮样式

isXYPlane?: boolean

数据是否在xy平面,默认为xz 平面

showBorder?: boolean

是否显示边框

showVertex?: boolean

是否显示顶点(全局控制显示)

style?: MeshLambertMaterialParameters

样式

useBvh?: boolean

是否使用bvh射线查询。默认是

vertexStyle?: SymbolMaterialProps & {
    pointBorderColor?: ColorRepresentation;
    pointColor?: ColorRepresentation;
    pointSize?: number;
}

顶点样式

Type declaration

  • Optional pointBorderColor?: ColorRepresentation
  • Optional pointColor?: ColorRepresentation
  • Optional pointSize?: number