1. isolateModelsByKey

通过模型key将指定的模型隔离,即仅显示隔离的模型。

1.1. 参数说明:

名称 说明 类型 是否必填 示例
key 模型key 字符串 string 或数组Array M123456或[M123456,M1234567]
state 模型状态 true为隐藏,false为略微可见,默认 true 布尔值boolean true
返回值说明 类型 示例
无返回值 NULL NULL

1.2. 调用方式:

/**
* 将指定的模型隔离,通过key
*    @isolateModelsByKey
*    @param {array/string} key 模型key数组或模型key
*    @param {boolean} state    模型状态,true为隐藏,false为略微可见,默认true
*    @return {void}
*/ 
viewer3D.isolateModelsByKey("M123456_123456",true);
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2021 all right reserved,powered by Gitbook该文件修订时间: 2021-12-20 09:58:36

results matching ""

    No results matching ""