Interface PathTubeEntitiesOptions

interface PathTubeEntitiesOptions {
    asEntity?: boolean;
    cornerSplit?: number;
    data: {
        disableMergeNode?: boolean;
        paths: [number, number, number][];
        [key: string]: any;
    }[];
    decimalPrecision?: number;
    innerSideMaterial?: Material;
    isMapMode?: boolean;
    nodeRadius?: number;
    nodeWidthScaleY?: number;
    outerMaterial?: Material;
    sect: PathTubeGeometryOptions;
    usage?: Usage;
}

Properties

asEntity?: boolean

是否做为实体增加 默认true

cornerSplit?: number
data: {
    disableMergeNode?: boolean;
    paths: [number, number, number][];
    [key: string]: any;
}[]

数据

Type declaration

  • [key: string]: any

    其他属性数据

  • Optional disableMergeNode?: boolean

    禁止该路径合并节点 默认false

  • paths: [number, number, number][]

    路径点

decimalPrecision?: number

以为是同一个节点的小数位置精度默认6

innerSideMaterial?: Material

内部材质如不填,则使用和外部一样的材质

isMapMode?: boolean

是否是地图模式

nodeRadius?: number

节点半径大小 默认 0.3

nodeWidthScaleY?: number

节点y方向缩放 默认1

outerMaterial?: Material

外部材质

sect: PathTubeGeometryOptions

断面选项

usage?: Usage

内存分配方式