如视 Five SDK
    Preparing search index...

    Interface ModelOptions

    interface ModelOptions {
        "3d-tiles"?:
            | Partial<ParameterTilesetValue> & {
                showLayers?: boolean | string[];
                viewerRequestVolume?: BoundingVolumeJson | BoundingVolume;
            }
            | (
                (
                    viewLayer: ViewLayer,
                    model: Model,
                ) =>
                    | void
                    | Partial<ParameterTilesetValue> & {
                        showLayers?: boolean | string[];
                        viewerRequestVolume?: BoundingVolumeJson | BoundingVolume;
                    }
            );
        forceReplaceImmediately?: boolean;
        light?: boolean;
        textureOptions?: TextureOptions;
    }
    Index

    Properties

    "3d-tiles"?:
        | Partial<ParameterTilesetValue> & {
            showLayers?: boolean | string[];
            viewerRequestVolume?: BoundingVolumeJson | BoundingVolume;
        }
        | (
            (
                viewLayer: ViewLayer,
                model: Model,
            ) =>
                | void
                | Partial<ParameterTilesetValue> & {
                    showLayers?: boolean | string[];
                    viewerRequestVolume?: BoundingVolumeJson | BoundingVolume;
                }
        )

    模型 3d-tile 参数

    forceReplaceImmediately?: boolean

    强制显示模型,不等待加载完

    light?: boolean

    模型是否感光

    textureOptions?: TextureOptions

    模型贴图的配置参数

    可以动态对配置在 work 数据中的模型贴图在 runtime 做 url 调整。 平衡加载时间和图片质量